1212 toolkit : ${{ steps.filter.outputs.toolkit }}
1313 steps :
1414 - uses : actions/checkout@v4
15- - uses : dorny/paths-filter@v2
15+ - uses : dorny/paths-filter@v3
1616 id : filter
1717 with :
1818 filters : |
3737 uses : actions/checkout@v4
3838
3939 - name : Use node ${{ matrix.node }}
40- uses : actions/setup-node@v2
40+ uses : actions/setup-node@v4
4141 with :
4242 node-version : ${{ matrix.node }}
4343 cache : ' yarn'
5555 - name : Pack
5656 run : yarn pack
5757
58- - uses : actions/upload-artifact@v2
58+ - uses : actions/upload-artifact@v4
5959 with :
6060 name : package
6161 path : packages/toolkit/package.tgz
@@ -73,15 +73,15 @@ jobs:
7373 uses : actions/checkout@v4
7474
7575 - name : Use node ${{ matrix.node }}
76- uses : actions/setup-node@v2
76+ uses : actions/setup-node@v4
7777 with :
7878 node-version : ${{ matrix.node }}
7979 cache : ' yarn'
8080
8181 - name : Install deps
8282 run : yarn install
8383
84- - uses : actions/download-artifact@v2
84+ - uses : actions/download-artifact@v4
8585 with :
8686 name : package
8787 path : packages/toolkit
@@ -111,7 +111,7 @@ jobs:
111111 uses : actions/checkout@v4
112112
113113 - name : Use node ${{ matrix.node }}
114- uses : actions/setup-node@v2
114+ uses : actions/setup-node@v4
115115 with :
116116 node-version : ${{ matrix.node }}
117117 cache : ' yarn'
@@ -122,7 +122,7 @@ jobs:
122122 - name : Install TypeScript ${{ matrix.ts }}
123123 run : yarn add typescript@${{ matrix.ts }}
124124
125- - uses : actions/download-artifact@v2
125+ - uses : actions/download-artifact@v4
126126 with :
127127 name : package
128128 path : packages/toolkit
@@ -164,13 +164,13 @@ jobs:
164164 run :
165165 working-directory : ./examples/publish-ci/${{ matrix.example }}
166166 env :
167- YARN_ENABLE_IMMUTABLE_INSTALLS : ' false'
167+ YARN_ENABLE_IMMUTABLE_INSTALLS : false
168168 steps :
169169 - name : Checkout repo
170170 uses : actions/checkout@v4
171171
172172 - name : Use node ${{ matrix.node }}
173- uses : actions/setup-node@v2
173+ uses : actions/setup-node@v4
174174 with :
175175 node-version : ${{ matrix.node }}
176176 cache : ' yarn'
@@ -181,7 +181,7 @@ jobs:
181181 - name : Remove existing RTK
182182 run : yarn remove @reduxjs/toolkit
183183
184- - uses : actions/download-artifact@v2
184+ - uses : actions/download-artifact@v4
185185 with :
186186 name : package
187187 path : ./examples/publish-ci/${{ matrix.example }}
@@ -197,13 +197,15 @@ jobs:
197197
198198 - name : Set up JDK 17 for React Native build
199199 if : matrix.example == 'react-native' || matrix.example == 'expo'
200- uses : actions/setup-java@v2
200+ uses : actions/setup-java@v4
201201 with :
202202 java-version : ' 17.x'
203203 distribution : ' temurin'
204204
205205 - name : Build example
206- run : NODE_OPTIONS=--openssl-legacy-provider yarn build
206+ env :
207+ NODE_OPTIONS : --openssl-legacy-provider
208+ run : yarn build
207209
208210 - name : Run test step
209211 run : yarn test
@@ -222,15 +224,15 @@ jobs:
222224 uses : actions/checkout@v4
223225
224226 - name : Use node ${{ matrix.node }}
225- uses : actions/setup-node@v2
227+ uses : actions/setup-node@v4
226228 with :
227229 node-version : ${{ matrix.node }}
228230 cache : ' yarn'
229231
230232 - name : Install deps
231233 run : yarn install
232234
233- - uses : actions/download-artifact@v2
235+ - uses : actions/download-artifact@v4
234236 with :
235237 name : package
236238 path : packages/toolkit
0 commit comments