File tree Expand file tree Collapse file tree 1 file changed +24
-4
lines changed
Expand file tree Collapse file tree 1 file changed +24
-4
lines changed Original file line number Diff line number Diff line change @@ -26,13 +26,33 @@ jobs:
2626 - name : test
2727 id : test
2828 if : ${{ always() }}
29- run : npm run test -- --coverage
30- - name : Codecov
31- if : steps.test.outcome == 'success'
32- uses : codecov/codecov-action@v2
29+ run : npm run test
3330 - name : lint
3431 if : ${{ always() }}
3532 run : npm run lint
3633 - name : style
3734 if : ${{ always() }}
3835 run : npm run format:check
36+
37+ codecov : # Send only a single coverage report per run
38+ needs : build
39+ timeout-minutes : 15
40+ env :
41+ CI : true
42+ runs-on : ubuntu-latest
43+ steps :
44+ - uses : actions/checkout@v2
45+ - name : Use Node.js lts
46+ uses : actions/setup-node@v2
47+ with :
48+ node-version : lts/*
49+ cache : npm
50+ - name : Use NPM 8
51+ run : npm i -g npm@8
52+ - run : npm ci
53+ - name : test
54+ run : npm run test -- --coverage
55+ - name : Codecov
56+ uses : codecov/codecov-action@v2
57+ with :
58+ verbose : true
You can’t perform that action at this time.
0 commit comments