diff --git a/.github/workflows/e2e_ios.yml b/.github/workflows/e2e_ios.yml index 93a15d8..5b95e21 100644 --- a/.github/workflows/e2e_ios.yml +++ b/.github/workflows/e2e_ios.yml @@ -111,9 +111,12 @@ jobs: restore-keys: ${{ runner.os }}-pods-v2 - name: Pod Install - run: | - gem update cocoapods xcodeproj - cd ios && pod install && cd .. + uses: nick-invision/retry@v2 + with: + timeout_minutes: 10 + retry_wait_seconds: 30 + max_attempts: 3 + command: yarn tests:ios:pod:install - name: Cache Firestore Emulator uses: actions/cache@v3 diff --git a/package.json b/package.json index 33ef354..9dac858 100644 --- a/package.json +++ b/package.json @@ -22,7 +22,8 @@ "e2e:android": "npm run build:android-release && npm run test:android-release", "tests:emulator:prepare": "cd .github/workflows/scripts/functions && yarn && yarn build", "tests:emulator:start-ci": "yarn tests:emulator:prepare && cd ./.github/workflows/scripts && ./start-firebase-emulator.sh", - "tests:packager:jet-ci": "cd Example/testHotUpdate && cross-env TMPDIR=$HOME/.metro REACT_DEBUGGER=\"echo nope\" node_modules/.bin/react-native start --no-interactive" + "tests:packager:jet-ci": "cd Example/testHotUpdate && cross-env TMPDIR=$HOME/.metro REACT_DEBUGGER=\"echo nope\" node_modules/.bin/react-native start --no-interactive", + "tests:ios:pod:install": "cd Example/testHotUpdate/ios && rm -rf RCTPushy.xcworkspace && yarn pod-install" }, "repository": { "type": "git", @@ -63,6 +64,7 @@ "fs-extra": "^9.1.0", "jest": "^29.2.1", "ts-jest": "^29.0.3", - "typescript": "^4.1.3" + "typescript": "^4.1.3", + "pod-install": "^0.1.37" } }