Skip to content

Commit

Permalink
Update detox-tests.yml (#63)
Browse files Browse the repository at this point in the history
* Update test app package.json

* Update detox-tests.yml
  • Loading branch information
rickycpadilla authored Jan 15, 2025
1 parent ee48f90 commit 71f6167
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/detox-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:

jobs:
ios-tests:
runs-on: macos-latest
runs-on: macos-15

env:
NODE_OPTIONS: "--max-old-space-size=4096"
Expand All @@ -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
Expand All @@ -44,6 +45,7 @@ jobs:
shell: bash

android-tests:
needs: ios-tests
runs-on: ubuntu-latest

steps:
Expand Down
3 changes: 2 additions & 1 deletion example/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand All @@ -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"
}
}

0 comments on commit 71f6167

Please sign in to comment.