File tree Expand file tree Collapse file tree 1 file changed +9
-4
lines changed Expand file tree Collapse file tree 1 file changed +9
-4
lines changed Original file line number Diff line number Diff line change @@ -27,10 +27,15 @@ 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##*/}
33- if : ${{ matrix.node-version == 'current' }}
30+ - name : Upload coverage to Codecov
31+ uses : codecov/codecov-action@v5
32+ if : ${{ matrix.node-version == 'current' && github.actor != 'dependabot[bot]' }}
33+ with :
34+ files : ./coverage/clover.xml
35+ directory : ./coverage/lcov-report/
36+ token : ${{ secrets.CODECOV_TOKEN }}
37+ verbose : true
38+ fail_ci_if_error : true
3439 build :
3540 name : Build
3641 runs-on : ubuntu-latest
You can’t perform that action at this time.
0 commit comments