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,17 @@ 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
+ architecture : " x64"
43
44
cache : " yarn"
45
+ cache-dependency-path : " yarn.lock"
44
46
45
47
- name : Install dependencies
46
48
run : yarn --frozen-lockfile
54
56
strategy :
55
57
matrix :
56
58
os : [ubuntu-latest, windows-latest, macos-latest]
57
- node-version : [10.x, 12.x, 14.x, 16.x, 18.x, 20.x ]
59
+ node-version : ["10", "12", "14", "16", "18", "20" ]
58
60
webpack-version : [latest]
59
61
60
62
runs-on : ${{ matrix.os }}
@@ -68,13 +70,15 @@ jobs:
68
70
if : matrix.os == 'windows-latest'
69
71
run : git config --global core.autocrlf input
70
72
71
- - uses : actions/checkout@v3
73
+ - uses : actions/checkout@v4
72
74
73
75
- name : Use Node.js ${{ matrix.node-version }}
74
- uses : actions/setup-node@v3
76
+ uses : actions/setup-node@v4
75
77
with :
76
- node-version : ${{ matrix.node-version }}
78
+ node-version : " ${{ matrix.node-version }}"
79
+ architecture : " x64"
77
80
cache : " yarn"
81
+ cache-dependency-path : " yarn.lock"
78
82
79
83
- name : Install dependencies
80
84
run : yarn --frozen-lockfile
0 commit comments