11
11
outputs :
12
12
toolkit : ${{ steps.filter.outputs.toolkit }}
13
13
steps :
14
- - uses : actions/checkout@v2
15
- - uses : dorny/paths-filter@v2
14
+ - uses : actions/checkout@v4
15
+ - uses : dorny/paths-filter@v3
16
16
id : filter
17
17
with :
18
18
filters : |
@@ -34,10 +34,10 @@ jobs:
34
34
35
35
steps :
36
36
- name : Checkout repo
37
- uses : actions/checkout@v2
37
+ uses : actions/checkout@v4
38
38
39
39
- name : Use node ${{ matrix.node }}
40
- uses : actions/setup-node@v2
40
+ uses : actions/setup-node@v4
41
41
with :
42
42
node-version : ${{ matrix.node }}
43
43
cache : ' yarn'
55
55
- name : Pack
56
56
run : yarn pack
57
57
58
- - uses : actions/upload-artifact@v2
58
+ - uses : actions/upload-artifact@v4
59
59
with :
60
60
name : package
61
61
path : packages/toolkit/package.tgz
@@ -70,18 +70,18 @@ jobs:
70
70
node : ['20.x']
71
71
steps :
72
72
- name : Checkout repo
73
- uses : actions/checkout@v2
73
+ uses : actions/checkout@v4
74
74
75
75
- name : Use node ${{ matrix.node }}
76
- uses : actions/setup-node@v2
76
+ uses : actions/setup-node@v4
77
77
with :
78
78
node-version : ${{ matrix.node }}
79
79
cache : ' yarn'
80
80
81
81
- name : Install deps
82
82
run : yarn install
83
83
84
- - uses : actions/download-artifact@v2
84
+ - uses : actions/download-artifact@v4
85
85
with :
86
86
name : package
87
87
path : packages/toolkit
@@ -108,10 +108,10 @@ jobs:
108
108
ts : ['4.7', '4.8', '4.9', '5.0', '5.1', '5.2', '5.3']
109
109
steps :
110
110
- name : Checkout repo
111
- uses : actions/checkout@v2
111
+ uses : actions/checkout@v4
112
112
113
113
- name : Use node ${{ matrix.node }}
114
- uses : actions/setup-node@v2
114
+ uses : actions/setup-node@v4
115
115
with :
116
116
node-version : ${{ matrix.node }}
117
117
cache : ' yarn'
@@ -122,7 +122,7 @@ jobs:
122
122
- name : Install TypeScript ${{ matrix.ts }}
123
123
run : yarn add typescript@${{ matrix.ts }}
124
124
125
- - uses : actions/download-artifact@v2
125
+ - uses : actions/download-artifact@v4
126
126
with :
127
127
name : package
128
128
path : packages/toolkit
@@ -164,13 +164,13 @@ jobs:
164
164
run :
165
165
working-directory : ./examples/publish-ci/${{ matrix.example }}
166
166
env :
167
- YARN_ENABLE_IMMUTABLE_INSTALLS : " false"
167
+ YARN_ENABLE_IMMUTABLE_INSTALLS : false
168
168
steps :
169
169
- name : Checkout repo
170
- uses : actions/checkout@v2
170
+ uses : actions/checkout@v4
171
171
172
172
- name : Use node ${{ matrix.node }}
173
- uses : actions/setup-node@v2
173
+ uses : actions/setup-node@v4
174
174
with :
175
175
node-version : ${{ matrix.node }}
176
176
cache : ' yarn'
@@ -181,7 +181,7 @@ jobs:
181
181
- name : Remove existing RTK
182
182
run : yarn remove @reduxjs/toolkit
183
183
184
- - uses : actions/download-artifact@v2
184
+ - uses : actions/download-artifact@v4
185
185
with :
186
186
name : package
187
187
path : ./examples/publish-ci/${{ matrix.example }}
@@ -197,13 +197,15 @@ jobs:
197
197
198
198
- name : Set up JDK 17 for React Native build
199
199
if : matrix.example == 'react-native' || matrix.example == 'expo'
200
- uses : actions/setup-java@v2
200
+ uses : actions/setup-java@v4
201
201
with :
202
202
java-version : ' 17.x'
203
203
distribution : ' temurin'
204
204
205
205
- name : Build example
206
- run : NODE_OPTIONS=--openssl-legacy-provider yarn build
206
+ env :
207
+ NODE_OPTIONS : --openssl-legacy-provider
208
+ run : yarn build
207
209
208
210
- name : Run test step
209
211
run : yarn test
@@ -219,18 +221,18 @@ jobs:
219
221
node : ['20.x']
220
222
steps :
221
223
- name : Checkout repo
222
- uses : actions/checkout@v2
224
+ uses : actions/checkout@v4
223
225
224
226
- name : Use node ${{ matrix.node }}
225
- uses : actions/setup-node@v2
227
+ uses : actions/setup-node@v4
226
228
with :
227
229
node-version : ${{ matrix.node }}
228
230
cache : ' yarn'
229
231
230
232
- name : Install deps
231
233
run : yarn install
232
234
233
- - uses : actions/download-artifact@v2
235
+ - uses : actions/download-artifact@v4
234
236
with :
235
237
name : package
236
238
path : packages/toolkit
0 commit comments