23
23
strategy :
24
24
matrix :
25
25
os : [ubuntu-latest]
26
- node-version : [lts/*]
26
+ node-version : [" lts/*" ]
27
27
28
28
runs-on : ${{ matrix.os }}
29
29
@@ -32,15 +32,16 @@ jobs:
32
32
cancel-in-progress : true
33
33
34
34
steps :
35
- - uses : actions/checkout@v3
35
+ - uses : actions/checkout@v4
36
36
with :
37
37
fetch-depth : 0
38
38
39
39
- name : Use Node.js ${{ matrix.node-version }}
40
- uses : actions/setup-node@v3
40
+ uses : actions/setup-node@v4
41
41
with :
42
42
node-version : ${{ matrix.node-version }}
43
43
cache : " yarn"
44
+ cache-dependency-path : " yarn.lock"
44
45
45
46
- name : Install dependencies
46
47
run : yarn --frozen-lockfile
54
55
strategy :
55
56
matrix :
56
57
os : [ubuntu-latest, windows-latest, macos-latest]
57
- node-version : [10.x, 12.x, 14.x, 16.x, 18.x, 20.x ]
58
+ node-version : ["10", "12", "14", "16", "18", "20" ]
58
59
webpack-version : [latest]
59
60
60
61
runs-on : ${{ matrix.os }}
@@ -68,13 +69,14 @@ jobs:
68
69
if : matrix.os == 'windows-latest'
69
70
run : git config --global core.autocrlf input
70
71
71
- - uses : actions/checkout@v3
72
+ - uses : actions/checkout@v4
72
73
73
74
- name : Use Node.js ${{ matrix.node-version }}
74
- uses : actions/setup-node@v3
75
+ uses : actions/setup-node@v4
75
76
with :
76
- node-version : ${{ matrix.node-version }}
77
+ node-version : " ${{ matrix.node-version }}"
77
78
cache : " yarn"
79
+ cache-dependency-path : " yarn.lock"
78
80
79
81
- name : Install dependencies
80
82
run : yarn --frozen-lockfile
0 commit comments