Skip to content

Commit 5d0babb

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 522ca7d commit 5d0babb

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

.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)