File tree 4 files changed +7613
-2
lines changed
4 files changed +7613
-2
lines changed Original file line number Diff line number Diff line change
1
+ name : Tests
2
+ ' on ' :
3
+ push :
4
+ pull_request :
5
+ types :
6
+ - opened
7
+ - synchronize
8
+ - reopened
9
+
10
+ jobs :
11
+ test :
12
+ name : ' Node.js v${{ matrix.node }}'
13
+ runs-on : ubuntu-latest
14
+ strategy :
15
+ matrix :
16
+ node :
17
+ - 12
18
+ - 14
19
+ - 16
20
+ steps :
21
+ - uses : actions/setup-node@v1
22
+ with :
23
+ node-version : ' ${{ matrix.node }}'
24
+ - uses : actions/checkout@v2
25
+ - name : ' Cache node_modules'
26
+ uses : actions/cache@v2
27
+ with :
28
+ path : ~/.npm
29
+ key : ${{ runner.os }}-node-v${{ matrix.node }}-${{ hashFiles('**/package-lock.json') }}
30
+ restore-keys : |
31
+ ${{ runner.os }}-node-v${{ matrix.node }}-
32
+ - name : Install Dependencies
33
+ run : npm install
34
+ - name : Run All Node.js Tests
35
+ run : npm run test
Original file line number Diff line number Diff line change @@ -28,4 +28,3 @@ node_modules
28
28
29
29
# TestingBot specific files
30
30
* .jar
31
- package-lock.json
You can’t perform that action at this time.
0 commit comments