File tree Expand file tree Collapse file tree 2 files changed +38
-18
lines changed Expand file tree Collapse file tree 2 files changed +38
-18
lines changed Original file line number Diff line number Diff line change
1
+ name : CI
2
+
3
+ on :
4
+ push :
5
+ branches : [master]
6
+
7
+ jobs :
8
+ test :
9
+ runs-on : ubuntu-latest
10
+
11
+ strategy :
12
+ matrix :
13
+ node : [10.x, 12.x]
14
+
15
+ steps :
16
+ - uses : actions/checkout@2
17
+
18
+ - name : Setup nodejs
19
+ uses : actions/setup-node@v2-beta
20
+ with :
21
+ node-version : ${{ matrix.node }}
22
+ - name : Install Deps
23
+ run : npm run install
24
+ - name : Validate package
25
+ run : npm run validate
26
+
27
+ release :
28
+ runs-on : ubuntu-latest
29
+
30
+ steps :
31
+ - uses : actions/checkout@2
32
+
33
+ - name : Setup nodejs
34
+ uses : actions/setup-node@v2-beta
35
+ with :
36
+ node-version : 12.x
37
+ - name : Update tests, coverage, and release
38
+ run : npm run test:update && npx codecov && npx semantic-release
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments