8
8
outputs :
9
9
src : ${{ steps.filter.outputs.src }}
10
10
steps :
11
- - uses : actions/checkout@v2
12
- - uses : dorny/paths-filter@v2
11
+ - uses : actions/checkout@v4
12
+ - uses : dorny/paths-filter@v3
13
13
id : filter
14
14
with :
15
15
filters : |
@@ -29,14 +29,14 @@ jobs:
29
29
runs-on : ubuntu-latest
30
30
strategy :
31
31
matrix :
32
- node : ['18 .x']
32
+ node : ['20 .x']
33
33
34
34
steps :
35
35
- name : Checkout repo
36
- uses : actions/checkout@v2
36
+ uses : actions/checkout@v4
37
37
38
38
- name : Use node ${{ matrix.node }}
39
- uses : actions/setup-node@v2
39
+ uses : actions/setup-node@v4
40
40
with :
41
41
node-version : ${{ matrix.node }}
42
42
cache : ' yarn'
53
53
- name : Pack
54
54
run : yarn pack
55
55
56
- - uses : actions/upload-artifact@v2
56
+ - uses : actions/upload-artifact@v4
57
57
with :
58
58
name : package
59
59
path : ./package.tgz
@@ -65,21 +65,21 @@ jobs:
65
65
strategy :
66
66
fail-fast : false
67
67
matrix :
68
- node : ['18 .x']
68
+ node : ['20 .x']
69
69
steps :
70
70
- name : Checkout repo
71
- uses : actions/checkout@v2
71
+ uses : actions/checkout@v4
72
72
73
73
- name : Use node ${{ matrix.node }}
74
- uses : actions/setup-node@v2
74
+ uses : actions/setup-node@v4
75
75
with :
76
76
node-version : ${{ matrix.node }}
77
77
cache : ' yarn'
78
78
79
79
- name : Install deps
80
80
run : yarn install
81
81
82
- - uses : actions/download-artifact@v2
82
+ - uses : actions/download-artifact@v4
83
83
with :
84
84
name : package
85
85
path : .
@@ -102,14 +102,14 @@ jobs:
102
102
strategy :
103
103
fail-fast : false
104
104
matrix :
105
- node : ['18 .x']
105
+ node : ['20 .x']
106
106
ts : ['4.7', '4.8', '4.9', '5.0', '5.1', '5.2', '5.3', '5.4']
107
107
steps :
108
108
- name : Checkout repo
109
- uses : actions/checkout@v2
109
+ uses : actions/checkout@v4
110
110
111
111
- name : Use node ${{ matrix.node }}
112
- uses : actions/setup-node@v2
112
+ uses : actions/setup-node@v4
113
113
with :
114
114
node-version : ${{ matrix.node }}
115
115
cache : ' yarn'
@@ -120,7 +120,7 @@ jobs:
120
120
- name : Install TypeScript ${{ matrix.ts }}
121
121
run : yarn add typescript@${{ matrix.ts }}
122
122
123
- - uses : actions/download-artifact@v2
123
+ - uses : actions/download-artifact@v4
124
124
with :
125
125
name : package
126
126
path : .
@@ -143,12 +143,12 @@ jobs:
143
143
strategy :
144
144
fail-fast : false
145
145
matrix :
146
- node : ['18 .x']
146
+ node : ['20 .x']
147
147
steps :
148
148
- name : Checkout repo
149
- uses : actions/checkout@v3
149
+ uses : actions/checkout@v4
150
150
151
- - uses : actions/download-artifact@v3
151
+ - uses : actions/download-artifact@v4
152
152
with :
153
153
name : package
154
154
path : .
@@ -165,14 +165,14 @@ jobs:
165
165
strategy :
166
166
fail-fast : false
167
167
matrix :
168
- node : ['18 .x']
168
+ node : ['20 .x']
169
169
example : ['cra4', 'cra5', 'next', 'vite', 'node-standard', 'node-esm']
170
170
steps :
171
171
- name : Checkout repo
172
- uses : actions/checkout@v2
172
+ uses : actions/checkout@v4
173
173
174
174
- name : Use node ${{ matrix.node }}
175
- uses : actions/setup-node@v2
175
+ uses : actions/setup-node@v4
176
176
with :
177
177
node-version : ${{ matrix.node }}
178
178
cache : ' yarn'
@@ -185,9 +185,11 @@ jobs:
185
185
186
186
- name : Install deps
187
187
working-directory : ./redux-toolkit/examples/publish-ci/${{ matrix.example }}
188
+ env :
189
+ YARN_ENABLE_IMMUTABLE_INSTALLS : false
188
190
run : yarn install
189
191
190
- - uses : actions/download-artifact@v2
192
+ - uses : actions/download-artifact@v4
191
193
with :
192
194
name : package
193
195
path : ./redux-toolkit/examples/publish-ci/${{ matrix.example }}
@@ -206,7 +208,9 @@ jobs:
206
208
207
209
- name : Build example
208
210
working-directory : ./redux-toolkit/examples/publish-ci/${{ matrix.example }}
209
- run : NODE_OPTIONS=--openssl-legacy-provider yarn build
211
+ env :
212
+ NODE_OPTIONS : --openssl-legacy-provider
213
+ run : yarn build
210
214
211
215
- name : Run test step
212
216
working-directory : ./redux-toolkit/examples/publish-ci/${{ matrix.example }}
0 commit comments