Skip to content

Commit 6082427

Browse files
committed
Use CodeCov GitHub Action in CI instead of npx codecov
The npx codecov script is deprecated, so use the GitHub action instead.
1 parent 5365bca commit 6082427

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/ci-workflow.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,10 @@ jobs:
5353
- run: date +"%Y-%m-%d %T"
5454
- run: npm install
5555
- run: ./bin/check_for_nonassertive_tests.sh
56-
- run: npx nyc --reporter=lcov npm test && npx codecov
56+
- run: npx nyc --reporter=lcov npm test
5757
env:
5858
CI: true
59+
- name: Upload coverage to Codecov
60+
uses: codecov/codecov-action@v4
61+
with:
62+
token: ${{ secrets.CODECOV_TOKEN }}

0 commit comments

Comments
 (0)