File tree Expand file tree Collapse file tree 1 file changed +39
-0
lines changed Expand file tree Collapse file tree 1 file changed +39
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Test
2
+
3
+ on : [push]
4
+
5
+ jobs :
6
+ lint :
7
+ runs-on : ubuntu-latest
8
+ strategy :
9
+ matrix :
10
+ node-version : [14, 15]
11
+ steps :
12
+ - uses : actions/checkout@v1
13
+ - name : Use Node.js ${{ matrix.node-version }}
14
+ uses : actions/setup-node@v1
15
+ with :
16
+ node-version : ${{ matrix.node-version }}
17
+ - name : install and lint
18
+ run : |
19
+ yarn install
20
+ yarn lint:fail
21
+
22
+ test :
23
+ needs : [lint]
24
+ runs-on : ubuntu-latest
25
+ strategy :
26
+ matrix :
27
+ node-version : [14, 15]
28
+ steps :
29
+ - uses : actions/checkout@v1
30
+ - name : Use Node.js ${{ matrix.node-version }}
31
+ uses : actions/setup-node@v1
32
+ with :
33
+ node-version : ${{ matrix.node-version }}
34
+ - name : install and test
35
+ run : |
36
+ yarn install
37
+ yarn jest --coverage
38
+ - name : upload coverage
39
+ uses : codecov/codecov-action@v1
You can’t perform that action at this time.
0 commit comments