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 the project to use a CODECOV_TOKEN secret since this is
required now.
  • Loading branch information
nfischer committed Jun 23, 2024
1 parent 20c24df commit ed0696a
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 @@ -24,6 +24,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 ed0696a

Please sign in to comment.