Skip to content

Commit 9a43ec0

Browse files
authored
ci: Fix code coverage reporting (#352)
1 parent de76fa6 commit 9a43ec0

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

.github/workflows/ci.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,5 +46,11 @@ jobs:
4646
run: npm ci
4747
- name: Run tests
4848
run: npm run test
49-
- name: Code coverage
50-
run: bash <(curl -s https://codecov.io/bash)
49+
- name: Upload code coverage
50+
uses: codecov/codecov-action@v4
51+
with:
52+
fail_ci_if_error: true
53+
token: ${{ secrets.CODECOV_TOKEN }}
54+
concurrency:
55+
group: ${{ github.workflow }}-${{ github.ref }}
56+
cancel-in-progress: true

0 commit comments

Comments
 (0)