@@ -168,15 +168,15 @@ jobs:
168168 strategy :
169169 fail-fast : false # keeps matrix running if one fails
170170 matrix :
171- rn-version : ['0.65.3', '0.73.2 ']
171+ rn-version : ['0.65.3', '0.73.9 ']
172172 rn-architecture : ['legacy', 'new']
173173 platform : ['android', 'ios']
174174 build-type : ['production']
175175 ios-use-frameworks : ['no', 'static', 'dynamic']
176176 engine : ['hermes', 'jsc']
177177 include :
178178 - platform : ios
179- rn-version : ' 0.73.2 '
179+ rn-version : ' 0.73.9 '
180180 runs-on : macos-14 # uses m1 https://github.blog/changelog/2024-01-30-github-actions-macos-14-sonoma-is-now-available/
181181 runtime : ' latest'
182182 device : ' iPhone 14'
@@ -189,7 +189,7 @@ jobs:
189189 runs-on : ubuntu-latest
190190 exclude :
191191 # exclude JSC for new RN versions (keeping the matrix manageable)
192- - rn-version : ' 0.73.2 '
192+ - rn-version : ' 0.73.9 '
193193 engine : ' jsc'
194194 # exclude all rn versions lower than 0.70.0 for new architecture
195195 - rn-version : ' 0.65.3'
@@ -231,6 +231,10 @@ jobs:
231231 - run : sudo xcode-select -s /Applications/Xcode_14.2.app/Contents/Developer
232232 if : ${{ matrix.platform == 'ios' && matrix.rn-version == '0.65.3' }}
233233
234+ - name : Enable Corepack # RN 0.73.9 and newer are using yarn 3 which requires corepack
235+ if : ${{ matrix.rn-version == '0.73.9' }}
236+ run : corepack enable
237+
234238 - uses : actions/setup-node@v4
235239 with :
236240 node-version : 18
@@ -304,9 +308,21 @@ jobs:
304308 working-directory : test/react-native/versions/${{ matrix.rn-version }}/RnDiffApp
305309 run : yalc add @sentry/react-native
306310
307- - name : Install App JS Dependencies
311+ - name : Install App JS Dependencies (yarn v1)
308312 working-directory : test/react-native/versions/${{ matrix.rn-version }}/RnDiffApp
309- run : yarn install
313+ if : ${{ matrix.rn-version != '0.73.9' }}
314+ run : |
315+ yarn install
316+
317+ - name : Install App JS Dependencies (yarn v3)
318+ working-directory : test/react-native/versions/${{ matrix.rn-version }}/RnDiffApp
319+ if : ${{ matrix.rn-version == '0.73.9' }}
320+ run : |
321+ rm -f .yarnrc.yml # original yarnrc contains the exact yarn version which causes corepack to fail to install yarn v3
322+ echo "nodeLinker: node-modules" > .yarnrc.yml # RN build script require dependencies to be present in node_modules
323+ touch yarn.lock # yarn v3 won't install dependencies in a sub project without a yarn.lock file present
324+ export YARN_ENABLE_IMMUTABLE_INSTALLS=false # yarn v3 run immutable install by default in CI
325+ yarn install
310326
311327 - name : Add E2E Tests Library to App
312328 working-directory : test/react-native/versions/${{ matrix.rn-version }}/RnDiffApp
@@ -328,8 +344,9 @@ jobs:
328344 working-directory : test/react-native/versions/${{ matrix.rn-version }}/RnDiffApp/ios
329345 run : |
330346 ../../../../rn.patch.podfile.js --pod-file Podfile --engine ${{ matrix.engine }}
331- [[ "${{ matrix.ios-use-frameworks }}" == "static" ]] && export USE_FRAMEWORKS=static && export NO_FLIPPER=1
332- [[ "${{ matrix.ios-use-frameworks }}" == "dynamic" ]] && export USE_FRAMEWORKS=dynamic && export NO_FLIPPER=1
347+ export NO_FLIPPER=1 # Flipper is causing build issues on iOS, so we disable it
348+ [[ "${{ matrix.ios-use-frameworks }}" == "static" ]] && export USE_FRAMEWORKS=static
349+ [[ "${{ matrix.ios-use-frameworks }}" == "dynamic" ]] && export USE_FRAMEWORKS=dynamic
333350 [[ "${{ matrix.build-type }}" == "production" ]] && ENABLE_PROD=1 || ENABLE_PROD=0
334351 [[ "${{ matrix.rn-architecture }}" == "new" ]] && ENABLE_NEW_ARCH=1 || ENABLE_NEW_ARCH=0
335352 [[ "${{ matrix.rn-version }}" == "0.65.3" ]] && POD_INSTALL_COMMNAND="pod install" || POD_INSTALL_COMMNAND="bundle exec pod install"
@@ -445,15 +462,15 @@ jobs:
445462 strategy :
446463 fail-fast : false # keeps matrix running if one fails
447464 matrix :
448- rn-version : ['0.65.3', '0.73.2 ']
465+ rn-version : ['0.65.3', '0.73.9 ']
449466 rn-architecture : ['legacy', 'new']
450467 platform : ['android', 'ios']
451468 build-type : ['production']
452469 ios-use-frameworks : ['no'] # test only no framworks
453470 engine : ['hermes', 'jsc']
454471 include :
455472 - platform : ios
456- rn-version : ' 0.73.2 '
473+ rn-version : ' 0.73.9 '
457474 runs-on : macos-14 # uses m1 https://github.blog/changelog/2024-01-30-github-actions-macos-14-sonoma-is-now-available/
458475 runtime : ' latest'
459476 device : ' iPhone 14'
@@ -471,10 +488,10 @@ jobs:
471488 # e2e test only the default combinations
472489 - rn-version : ' 0.65.3'
473490 engine : ' hermes'
474- - rn-version : ' 0.73.2 '
491+ - rn-version : ' 0.73.9 '
475492 engine : ' jsc'
476493 # E2E timeout due to a race condition https://github.com/facebook/react-native/issues/42123#issuecomment-1881203719
477- - rn-version : ' 0.73.2 '
494+ - rn-version : ' 0.73.9 '
478495 platform : ' ios'
479496 rn-architecture : ' new'
480497 env :
0 commit comments