build: Update codecov and use token

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-13 19:54:27 -03:00
committed by Adolfo R. Brandes
parent d2bb164fab
commit ab8d6e7913

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