File tree Expand file tree Collapse file tree 1 file changed +9
-9
lines changed Expand file tree Collapse file tree 1 file changed +9
-9
lines changed Original file line number Diff line number Diff line change 3
3
4
4
jobs :
5
5
test :
6
- runs-on : ubuntu-20 .04
6
+ runs-on : ubuntu-22 .04
7
7
8
8
services :
9
9
rethinkdb :
@@ -13,33 +13,33 @@ jobs:
13
13
14
14
strategy :
15
15
matrix :
16
- node-version : [ 16 .x, 18 .x, 20 .x ]
16
+ node-version : [ 18 .x, 20 .x, 22 .x ]
17
17
18
18
steps :
19
- - uses : actions/checkout@v3
20
- - uses : actions/cache@v3
19
+ - uses : actions/checkout@v4
20
+ - uses : actions/cache@v4
21
21
with :
22
22
path : ~/.npm
23
23
key : ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
24
24
restore-keys : |
25
25
${{ runner.os }}-node-
26
26
- name : Use Node.js ${{ matrix.node-version }}
27
- uses : actions/setup-node@v3
27
+ uses : actions/setup-node@v4
28
28
with :
29
29
node-version : ${{ matrix.node-version }}
30
30
- run : npm ci
31
31
- run : npm run build --if-present
32
32
- run : npm test
33
33
publish :
34
- runs-on : ubuntu-20 .04
34
+ runs-on : ubuntu-22 .04
35
35
needs : test
36
36
if : startsWith(github.ref, 'refs/tags/v')
37
37
steps :
38
- - uses : actions/checkout@v3
38
+ - uses : actions/checkout@v4
39
39
- name : Use Node.js
40
- uses : actions/setup-node@v3
40
+ uses : actions/setup-node@v4
41
41
with :
42
- node-version : 14
42
+ node-version : 20
43
43
registry-url : ' https://registry.npmjs.org'
44
44
- run : npm ci
45
45
- run : npm run build --if-present
You can’t perform that action at this time.
0 commit comments