Skip to content

Commit 6364948

Browse files
authored
ci: Fix codecov upload (#9082)
1 parent e01c44a commit 6364948

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

.github/workflows/ci.yml

+10-2
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,11 @@ jobs:
210210
- run: npm run coverage
211211
env:
212212
CI: true
213-
- run: bash <(curl -s https://codecov.io/bash)
213+
- name: Upload code coverage
214+
uses: codecov/codecov-action@v4
215+
with:
216+
fail_ci_if_error: true
217+
token: ${{ secrets.CODECOV_TOKEN }}
214218
check-postgres:
215219
strategy:
216220
matrix:
@@ -281,7 +285,11 @@ jobs:
281285
- run: npm run coverage
282286
env:
283287
CI: true
284-
- run: bash <(curl -s https://codecov.io/bash)
288+
- name: Upload code coverage
289+
uses: codecov/codecov-action@v4
290+
with:
291+
fail_ci_if_error: true
292+
token: ${{ secrets.CODECOV_TOKEN }}
285293
concurrency:
286294
group: ${{ github.workflow }}-${{ github.ref }}
287295
cancel-in-progress: true

0 commit comments

Comments
 (0)