Skip to content

Commit 544901c

Browse files
committed
ci: update codecov
1 parent 721bb5e commit 544901c

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

.github/workflows/continuous-integration-workflow.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,13 @@ jobs:
2727
node-version: ${{ matrix.node-version }}
2828
- run: npm ci --ignore-scripts
2929
- run: npm run test:ci
30-
- run: npm install codecov -g
31-
if: ${{ matrix.node-version == 'current' }}
32-
- run: codecov -f ./coverage/clover.xml -t ${{ secrets.CODECOV_TOKEN }} --commit=$GITHUB_SHA --branch=${GITHUB_REF##*/}
30+
- uses: codecov/codecov-action@v5
3331
if: ${{ matrix.node-version == 'current' }}
32+
with:
33+
files: ./coverage/clover.xml
34+
token: ${{ secrets.CODECOV_TOKEN }}
35+
verbose: true
36+
fail_ci_if_error: true
3437
build:
3538
name: Build
3639
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)