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:
26
26
- name : test
27
27
id : test
28
28
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
33
30
- name : lint
34
31
if : ${{ always() }}
35
32
run : npm run lint
36
33
- name : style
37
34
if : ${{ always() }}
38
35
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