Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: update iOS workflows #2467

Merged
merged 8 commits into from
Oct 3, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/ios-build-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
4 changes: 2 additions & 2 deletions .github/workflows/ios-e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
timeout-minutes: 60
env:
WORKING_DIRECTORY: example
DEVICE: iPhone 14 Pro
DEVICE: iPhone 16 Pro
bohdanprog marked this conversation as resolved.
Show resolved Hide resolved
XCODE_VERSION: latest-stable
concurrency:
group: ios-e2e-example-${{ github.ref }}
Expand Down Expand Up @@ -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
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/macos-build-test-fabric.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/macos-build-test-paper.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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
Expand Down
Loading