chore: update iOS workflows (#2467)

# Summary

Update iOS workflows.
This commit is contained in:
Bohdan Artiukhov
2024-10-03 08:30:17 +02:00
committed by GitHub
parent f1d33a4e1e
commit 2b56bb4d03
4 changed files with 10 additions and 10 deletions

View File

@@ -66,7 +66,7 @@ jobs:
- name: Install Pods
working-directory: ${{ matrix.working-directory }}/ios
run: pod install
run: bundle install && bundle exec pod install
- name: Restore build artifacts from cache
uses: actions/cache@v3
@@ -76,4 +76,4 @@ jobs:
- name: Build app
working-directory: ${{ matrix.working-directory }}
run: npx react-native@latest run-ios --simulator="iPhone 14 Pro" --mode Debug --verbose --terminal /bin/zsh
run: npx react-native@latest run-ios --simulator="iPhone 16 Pro" --mode Debug --verbose --terminal /bin/zsh

View File

@@ -19,7 +19,7 @@ jobs:
timeout-minutes: 60
env:
WORKING_DIRECTORY: example
DEVICE: iPhone 14 Pro
DEVICE: iPhone 16 Pro
XCODE_VERSION: latest-stable
concurrency:
group: ios-e2e-example-${{ github.ref }}
@@ -66,7 +66,7 @@ jobs:
- name: Install Pods
working-directory: ${{ env.WORKING_DIRECTORY }}/ios
run: pod install
run: bundle install && bundle exec pod install
- name: Restore build artifacts from cache
uses: actions/cache@v3

View File

@@ -36,7 +36,7 @@ jobs:
restore-keys: ${{ runner.os }}-node-modules-svg-
- name: Install react-native-svg node_modules
run: yarn install
run: yarn install --frozen-lockfile
- name: Restore app node_modules from cache
uses: actions/cache@v3
@@ -47,7 +47,7 @@ jobs:
- name: Install app node_modules
working-directory: ${{ matrix.working-directory }}
run: yarn install
run: yarn install --frozen-lockfile
- name: Restore Pods from cache
uses: actions/cache@v3
@@ -60,7 +60,7 @@ jobs:
- name: Install Pods
working-directory: ${{ matrix.working-directory }}/macos
run: RCT_NEW_ARCH_ENABLED=1 pod install
run: bundle install && RCT_NEW_ARCH_ENABLED=1 bundle exec pod install
- name: Restore build artifacts from cache
uses: actions/cache@v3

View File

@@ -36,7 +36,7 @@ jobs:
restore-keys: ${{ runner.os }}-node-modules-svg-
- name: Install react-native-svg node_modules
run: yarn install
run: yarn install --frozen-lockfile
- name: Restore app node_modules from cache
uses: actions/cache@v3
@@ -47,7 +47,7 @@ jobs:
- name: Install app node_modules
working-directory: ${{ matrix.working-directory }}
run: yarn install
run: yarn install --frozen-lockfile
- name: Restore Pods from cache
uses: actions/cache@v3
@@ -60,7 +60,7 @@ jobs:
- name: Install Pods
working-directory: ${{ matrix.working-directory }}/macos
run: pod install
run: bundle install && bundle exec pod install
- name: Restore build artifacts from cache
uses: actions/cache@v3