diff --git a/.github/workflows/detox-tests.yml b/.github/workflows/detox-tests.yml index dc27556..34a8aeb 100644 --- a/.github/workflows/detox-tests.yml +++ b/.github/workflows/detox-tests.yml @@ -6,7 +6,7 @@ on: jobs: ios-tests: - runs-on: macos-latest + runs-on: macos-15 env: NODE_OPTIONS: "--max-old-space-size=4096" @@ -26,15 +26,16 @@ jobs: brew tap wix/brew brew install applesimutils - - name: Clean Derived Data + - name: Clean Derived Data and CocoaPods cache run: | rm -rf ~/Library/Developer/Xcode/DerivedData + rm -rf ~/Library/Caches/CocoaPods - name: Install Dependencies run: | rm -rf node_modules && npm install cd example && rm -rf node_modules && npm install - cd ios && rm -rf Pods && pod cache clean --all && pod install && cd .. + cd ios && rm -rf Pods && rm -rf Podfile.lock && pod cache clean --all && pod install && cd .. - name: Run Detox iOS Tests working-directory: example @@ -44,6 +45,7 @@ jobs: shell: bash android-tests: + needs: ios-tests runs-on: ubuntu-latest steps: diff --git a/example/package.json b/example/package.json index e89f797..bd1f420 100644 --- a/example/package.json +++ b/example/package.json @@ -10,7 +10,7 @@ }, "dependencies": { "react": "18.2.0", - "react-native": "0.71.10" + "react-native": "0.72.9" }, "devDependencies": { "@babel/core": "^7.20.0", @@ -23,6 +23,7 @@ "jest": "^29.7.0", "metro-react-native-babel-preset": "0.73.9", "react-native-dotenv": "^3.4.11", + "react-native-gradle-plugin": "0.71.19", "ts-jest": "^29.2.5" } }