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 66 schedule :
77 - cron : ' 0 0 * * 0'
88
9+ permissions :
10+ contents : read
11+
912jobs :
1013 test-node :
1114 runs-on : ubuntu-latest
1215
1316 strategy :
1417 matrix :
15- node-version : [12.x, 14.x]
18+ node-version :
19+ - 12
20+ - 18
1621
1722 services :
1823 redis :
@@ -26,12 +31,16 @@ jobs:
2631 - 6379:6379
2732
2833 steps :
29- - uses : actions/checkout@v2
34+ - name : Checkout repository
35+ uses : actions/checkout@v3
36+
3037 - name : Use Node.js ${{ matrix.node-version }}
31- uses : actions/setup-node@v1
38+ uses : actions/setup-node@v3
3239 with :
3340 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