File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1313 build :
1414 if : github.repository == 'software-mansion/react-native-gesture-handler'
1515 runs-on : ubuntu-latest
16+ strategy :
17+ matrix :
18+ working-directory : [apps/BasicExample, apps/ExpoExample]
1619 concurrency :
17- group : android-{{ github.ref }}
20+ group : android-${{ matrix.working-directory }}-$ {{ github.ref }}
1821 cancel-in-progress : true
1922 steps :
2023 - name : checkout
3033 node-version : 18
3134 cache : ' yarn'
3235 - name : Install node dependencies
33- working-directory : apps/BasicExample
34- run : yarn
36+ working-directory : ${{ matrix.working-directory }}
37+ run : yarn install --immutable && yarn postinstall
3538 - name : Build app
36- working-directory : apps/BasicExample /android
39+ working-directory : ${{ matrix.working-directory }} /android
3740 run : ./gradlew assembleDebug --console=plain -PreactNativeArchitectures=arm64-v8a
Original file line number Diff line number Diff line change 1414 build :
1515 if : github.repository == 'software-mansion/react-native-gesture-handler'
1616 runs-on : macos-14
17+ strategy :
18+ matrix :
19+ working-directory : [apps/BasicExample, apps/ExpoExample]
20+ concurrency :
21+ group : ios-${{ matrix.working-directory }}-${{ github.ref }}
22+ cancel-in-progress : true
1723 env :
1824 WORKING_DIRECTORY : apps/BasicExample
1925 steps :
@@ -29,11 +35,11 @@ jobs:
2935 node-version : 18
3036 cache : ' yarn'
3137 - name : Install node dependencies
32- working-directory : ${{ env.WORKING_DIRECTORY }}
33- run : yarn install --immutable
38+ working-directory : ${{ matrix.working-directory }}
39+ run : yarn install --immutable && yarn postinstall
3440 - name : Install pods
35- working-directory : ${{ env.WORKING_DIRECTORY }}/ios
41+ working-directory : ${{ matrix.working-directory }}/ios
3642 run : bundle install && NO_FLIPPER=1 bundle exec pod install
3743 - name : Build app
38- working-directory : ${{ env.WORKING_DIRECTORY }}
44+ working-directory : ${{ matrix.working-directory }}
3945 run : npx react-native run-ios
Original file line number Diff line number Diff line change 66 "start" : " expo start" ,
77 "android" : " expo run:android" ,
88 "ios" : " expo run:ios" ,
9- "web" : " expo start --web"
9+ "web" : " expo start --web" ,
10+ "postinstall" : " npx expo prebuild"
1011 },
1112 "dependencies" : {
1213 "@expo/metro-runtime" : " ~5.0.2" ,
You can’t perform that action at this time.
0 commit comments