@@ -50,23 +50,24 @@ jobs:
5050 - name : checkout
5151 uses : actions/checkout@v4
5252
53+ - name : Setup Node.js environment
54+ uses : actions/setup-node@v4
55+ with :
56+ node-version : 20
57+
5358 - name : Get yarn cache directory path
5459 id : yarn-cache-dir-path
5560 run : echo "::set-output name=dir::$(yarn cache dir)"
5661
57- - uses : actions/cache@v4
62+ - name : Yarn cache
63+ uses : actions/cache@v4
5864 id : yarn-cache
5965 with :
6066 path : ${{ steps.yarn-cache-dir-path.outputs.dir }}
6167 key : ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
6268 restore-keys : |
6369 ${{ runner.os }}-yarn-
6470
65- - name : Setup Node.js environment
66- uses : actions/setup-node@v4
67- with :
68- node-version : 20
69-
7071 - name : Install Dependencies
7172 run : yarn bootstrap-no-pods
7273
@@ -202,50 +203,45 @@ jobs:
202203 - name : checkout
203204 uses : actions/checkout@v4
204205
206+ - name : Setup Node.js environment
207+ uses : actions/setup-node@v4
208+ with :
209+ node-version : 20
210+
205211 - name : Setup Xcode
206212 run : sudo xcode-select -s /Applications/Xcode_16.3.app/Contents/Developer
207213
208214 - name : Get yarn cache directory path
209215 id : yarn-cache-dir-path
210216 run : echo "::set-output name=dir::$(yarn cache dir)"
211217
212- - uses : actions/cache@v4
218+ - name : Yarn cache
219+ uses : actions/cache@v4
213220 id : yarn-cache
214221 with :
215222 path : ${{ steps.yarn-cache-dir-path.outputs.dir }}
216223 key : ${{ runner.os }}-yarn-${{ hashFiles('example/yarn.lock') }}
217224 restore-keys : |
218225 ${{ runner.os }}-yarn-
219226
220- - uses : actions/cache@v4
227+ - name : CocoaPods cache
228+ uses : actions/cache@v4
221229 with :
222230 path : example/ios/Pods
223231 key : v2-${{ runner.os }}-pods-${{ env.NEW_ARCH_ENABLED }}-${{ hashFiles('example/ios/Podfile.lock') }}
224232 restore-keys : |
225233 v2-${{ runner.os }}-pods-${{ env.NEW_ARCH_ENABLED }}-
226234
227- - name : Setup Node.js environment
228- uses : actions/setup-node@v4
229- with :
230- node-version : 20
231-
232235 - name : Install Dependencies
233- run : yarn bootstrap-no-pods
234-
235- - name : Generate bundle
236- run : yarn example build:ios
236+ run : yarn bootstrap
237237
238238 - name : Install Maestro CLI
239239 run : |
240240 curl -Ls "https://get.maestro.mobile.dev" | bash
241241 echo "${HOME}/.maestro/bin" >> $GITHUB_PATH
242242
243- - name : Install CocoaPods
244- run : |
245- cd example
246- bundle install
247- cd ios
248- bundle exec pod install
243+ - name : Generate example app JS bundle
244+ run : yarn example build:ios
249245
250246 - name : Build iOS App
251247 env :
0 commit comments