File tree 1 file changed +14
-3
lines changed
1 file changed +14
-3
lines changed Original file line number Diff line number Diff line change 24
24
- name : Check formatting
25
25
run : npm run format:check
26
26
build-and-test :
27
- need : lint
28
27
runs-on : ubuntu-latest
29
28
timeout-minutes : 5
30
29
steps :
@@ -38,10 +37,22 @@ jobs:
38
37
run : npm ci --ignore-scripts
39
38
- name : Build
40
39
run : npm run build
40
+ test :
41
+ runs-on : ubuntu-latest
42
+ timeout-minutes : 5
43
+ steps :
44
+ - name : Checkout
45
+ uses : actions/checkout@v2.3.2
46
+ - name : Setup node
47
+ uses : actions/setup-node@v2.1.1
48
+ with :
49
+ node-version : 12
50
+ - name : Install project
51
+ run : npm ci --ignore-scripts
41
52
- name : Test
42
53
run : npm run test:ci
43
54
code-coverage :
44
- need : build
55
+ needs : [lint, build, test]
45
56
runs-on : ubuntu-latest
46
57
timeout-minutes : 5
47
58
steps :
61
72
token : ${{ secrets.CODECOV_TOKEN }}
62
73
file : ./coverage/cobertura-coverage.xml
63
74
release :
64
- needs : [build, code-coverage]
75
+ needs : [lint, build, test , code-coverage]
65
76
runs-on : ubuntu-latest
66
77
# GitHub API requests can easy take a couple of seconds and the release can
67
78
# make lots of API requests when a release has a lot of commits. If every
You can’t perform that action at this time.
0 commit comments