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:
27
27
node-version : ${{ matrix.node-version }}
28
28
- run : npm ci --ignore-scripts
29
29
- 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
34
39
build :
35
40
name : Build
36
41
runs-on : ubuntu-latest
You can’t perform that action at this time.
0 commit comments