Skip to content

Commit

Permalink
chore: switch to codecov v4
Browse files Browse the repository at this point in the history
No change to logic. This updates codecov/codecov-action to v4. This
version supposedly has better support for external contributors working
from repository forks.

This also switches to use a CODECOV_TOKEN.
  • Loading branch information
nfischer committed Jun 23, 2024
1 parent f763a52 commit b868695
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ jobs:
node-version: ${{ matrix.node-version }}
- run: npm install
- run: npm run test
- uses: codecov/codecov-action@v2
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}
fail_ci_if_error: true

0 comments on commit b868695

Please sign in to comment.