Skip to content

Commit c591895

Browse files
authored
ci: Fix Codecov upload (#2105)
1 parent ab237a2 commit c591895

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/ci.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,11 @@ jobs:
6060
- run: npm run test:mongodb
6161
env:
6262
CI: true
63-
- run: bash <(curl -s https://codecov.io/bash)
63+
- name: Upload code coverage
64+
uses: codecov/codecov-action@v4
65+
with:
66+
fail_ci_if_error: true
67+
token: ${{ secrets.CODECOV_TOKEN }}
6468
concurrency:
6569
group: ${{ github.workflow }}-${{ github.ref }}
6670
cancel-in-progress: true

0 commit comments

Comments
 (0)