From 2b56bb4d0330029a977f5c8b94bcb24447d5b659 Mon Sep 17 00:00:00 2001 From: Bohdan Artiukhov Date: Thu, 3 Oct 2024 08:30:17 +0200 Subject: [PATCH] chore: update iOS workflows (#2467) # Summary Update iOS workflows. --- .github/workflows/ios-build-test.yml | 4 ++-- .github/workflows/ios-e2e.yml | 4 ++-- .github/workflows/macos-build-test-fabric.yml | 6 +++--- .github/workflows/macos-build-test-paper.yml | 6 +++--- 4 files changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/ios-build-test.yml b/.github/workflows/ios-build-test.yml index eb117f19..fe4604bd 100644 --- a/.github/workflows/ios-build-test.yml +++ b/.github/workflows/ios-build-test.yml @@ -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 diff --git a/.github/workflows/ios-e2e.yml b/.github/workflows/ios-e2e.yml index 61cc6f24..a0a05fd4 100644 --- a/.github/workflows/ios-e2e.yml +++ b/.github/workflows/ios-e2e.yml @@ -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 diff --git a/.github/workflows/macos-build-test-fabric.yml b/.github/workflows/macos-build-test-fabric.yml index 07b3108e..5551bc30 100644 --- a/.github/workflows/macos-build-test-fabric.yml +++ b/.github/workflows/macos-build-test-fabric.yml @@ -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 diff --git a/.github/workflows/macos-build-test-paper.yml b/.github/workflows/macos-build-test-paper.yml index f2fdbb2a..486a8827 100644 --- a/.github/workflows/macos-build-test-paper.yml +++ b/.github/workflows/macos-build-test-paper.yml @@ -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