File tree Expand file tree Collapse file tree 1 file changed +16
-7
lines changed Expand file tree Collapse file tree 1 file changed +16
-7
lines changed Original file line number Diff line number Diff line change 6
6
schedule :
7
7
- cron : ' 0 0 * * 0'
8
8
9
+ permissions :
10
+ contents : read
11
+
9
12
jobs :
10
13
test-node :
11
14
runs-on : ubuntu-latest
12
15
13
16
strategy :
14
17
matrix :
15
- node-version : [12.x, 14.x]
18
+ node-version :
19
+ - 12
20
+ - 18
16
21
17
22
services :
18
23
redis :
@@ -26,12 +31,16 @@ jobs:
26
31
- 6379:6379
27
32
28
33
steps :
29
- - uses : actions/checkout@v2
34
+ - name : Checkout repository
35
+ uses : actions/checkout@v3
36
+
30
37
- name : Use Node.js ${{ matrix.node-version }}
31
- uses : actions/setup-node@v1
38
+ uses : actions/setup-node@v3
32
39
with :
33
40
node-version : ${{ matrix.node-version }}
34
- - run : npm ci
35
- - run : npm test
36
- env :
37
- CI : true
41
+
42
+ - name : Install dependencies
43
+ run : npm ci
44
+
45
+ - name : Run tests
46
+ run : npm test
You can’t perform that action at this time.
0 commit comments