build: Update codecov and use token (#1033)

Update codecov to the latest version and start using the org-wide token for uploads.

See https://github.com/openedx/wg-frontend/issues/179
This commit is contained in:
Adolfo R. Brandes
2024-06-25 17:03:11 -03:00
committed by GitHub
parent 6aaf615c63
commit 7682971b63

View File

@@ -23,7 +23,9 @@ jobs:
- run: make requirements
- run: make test NPM_TESTS=build
- run: make test NPM_TESTS=${{ matrix.npm-test }}
- name: upload coverage
uses: codecov/codecov-action@v3
- name: Coverage
if: ${{ matrix.npm-test == 'test' }}
uses: codecov/codecov-action@v4
with:
fail_ci_if_error: false
token: ${{ secrets.CODECOV_TOKEN }}
fail_ci_if_error: true