File tree Expand file tree Collapse file tree 1 file changed +25
-26
lines changed Expand file tree Collapse file tree 1 file changed +25
-26
lines changed Original file line number Diff line number Diff line change @@ -4,36 +4,35 @@ on: [push]
4
4
5
5
jobs :
6
6
unit-tests :
7
-
8
7
runs-on : ubuntu-latest
9
8
10
9
strategy :
11
10
matrix :
12
11
node-version : [8.x, 10.x, 12.x]
13
12
14
13
steps :
15
- - name : Checkout
16
- uses : actions/checkout@v1
17
-
18
- - name : Setup Node ${{ matrix.node-version }}
19
- uses : actions/setup-node@v1
20
- with :
21
- node-version : ${{ matrix.node-version }}
22
-
23
- - name : Setup npm cache
24
- uses : actions/cache@v1
25
- with :
26
- path : ~/.npm
27
- key : ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
28
- restore-keys : |
29
- ${{ runner.os }}-node-
30
-
31
- - name : Install dependencies
32
- run : npm ci
33
- env :
34
- CI : true
35
-
36
- - name : Run unit tests
37
- run : npm run test:clear
38
- env :
39
- CI : true
14
+ - name : Checkout
15
+ uses : actions/checkout@v1
16
+
17
+ - name : Setup Node ${{ matrix.node-version }}
18
+ uses : actions/setup-node@v1
19
+ with :
20
+ node-version : ${{ matrix.node-version }}
21
+
22
+ - name : Setup npm cache
23
+ uses : actions/cache@v1
24
+ with :
25
+ path : ~/.npm
26
+ key : ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
27
+ restore-keys : |
28
+ ${{ runner.os }}-node-
29
+
30
+ - name : Install dependencies
31
+ run : npm ci
32
+ env :
33
+ CI : true
34
+
35
+ - name : Run unit tests
36
+ run : npm run test:ci
37
+ env :
38
+ CI : true
You can’t perform that action at this time.
0 commit comments