File tree Expand file tree Collapse file tree 1 file changed +8
-7
lines changed Expand file tree Collapse file tree 1 file changed +8
-7
lines changed Original file line number Diff line number Diff line change @@ -12,13 +12,14 @@ jobs:
12
12
strategy :
13
13
matrix :
14
14
os : [ubuntu-latest, macos-latest, windows-latest]
15
- node-version : [14, 16]
15
+ node-version : [14, 16, 18 ]
16
16
steps :
17
- - uses : actions/checkout@v2
17
+ - uses : actions/checkout@v3
18
18
- name : Setup Node.js ${{ matrix.node-version }}
19
- uses : actions/setup-node@v2
19
+ uses : actions/setup-node@v3
20
20
with :
21
21
node-version : ${{ matrix.node-version }}
22
+ cache : npm
22
23
- name : Install dependencies
23
24
run : npm ci
24
25
- name : Build project
@@ -27,15 +28,15 @@ jobs:
27
28
run : npm run test
28
29
release :
29
30
name : Release
30
- runs-on : ubuntu-20.04
31
+ runs-on : ubuntu-latest
31
32
needs : test
32
33
if : github.repository_owner == 'bjoluc' && github.event_name == 'push' && github.ref == 'refs/heads/main'
33
34
steps :
34
- - uses : actions/checkout@v2
35
+ - uses : actions/checkout@v3
35
36
- name : Setup Node.js
36
- uses : actions/setup-node@v2
37
+ uses : actions/setup-node@v3
37
38
with :
38
- node-version : 16
39
+ node-version : 18
39
40
- name : Install dependencies
40
41
run : npm ci
41
42
- name : Release
You can’t perform that action at this time.
0 commit comments