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:39:27 -03:00
committed by Adolfo R. Brandes
parent a2ccda7b30
commit c9866af227

View File

@@ -39,7 +39,10 @@ jobs:
run: npm run build
- name: Run Coverage
uses: codecov/codecov-action@v3
uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}
fail_ci_if_error: true
- name: Send failure notification
if: ${{ failure() }}