Skip to content

Commit

Permalink
build: Update codecov and use token (#438)
Browse files Browse the repository at this point in the history
Update codecov to the latest version and start using the org-wide token for uploads.

See openedx/wg-frontend#179
  • Loading branch information
arbrandes committed Jun 17, 2024
1 parent 54ae39b commit d0ecdd7
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,10 @@ jobs:
run: npm run compile-prod

- name: Run Coverage
uses: codecov/codecov-action@v3
uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}
fail_ci_if_error: true

- name: Extract branch name
shell: bash
Expand Down
7 changes: 5 additions & 2 deletions .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,11 @@ jobs:
- name: Create Build
run: npm run compile-prod

- name: Run Coverage
uses: codecov/codecov-action@v2
- name: Coverage
uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}
fail_ci_if_error: false

- name: Release Package
env:
Expand Down

0 comments on commit d0ecdd7

Please sign in to comment.