Skip to content

Commit

Permalink
ci: align working-directory
Browse files Browse the repository at this point in the history
  • Loading branch information
KiwiKilian committed Dec 5, 2024
1 parent 4b009a9 commit b5a9a39
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions .github/workflows/review.yml
Original file line number Diff line number Diff line change
Expand Up @@ -91,9 +91,6 @@ jobs:
name: Build React Native Android
needs: [lint-eslint, lint-tsc, test, codegen, build-library]
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./packages/react-native-app
steps:
- name: Checkout
uses: actions/checkout@v4
Expand All @@ -116,9 +113,6 @@ jobs:
needs: [lint-eslint, lint-tsc, test, codegen, build-library]
runs-on: macos-latest
timeout-minutes: 30
defaults:
run:
working-directory: ./packages/react-native-app
steps:
- name: Checkout
uses: actions/checkout@v4
Expand All @@ -127,16 +121,20 @@ jobs:
uses: ./.github/actions/setup

- name: Install Pod Dependencies
working-directory: ./packages/react-native-app
run: cd ios && pod --version && pod install

- name: Install Detox Dependencies
working-directory: ./packages/react-native-app
run: |
brew tap wix/brew
brew install applesimutils
yarn detox clean-framework-cache && yarn detox build-framework-cache
- name: Build iOS
working-directory: ./packages/react-native-app
run: yarn detox build -c ios.sim.release

- name: Test with Detox
working-directory: ./packages/react-native-app
run: yarn detox test --debug-synchronization 200 -c ios.sim.release

0 comments on commit b5a9a39

Please sign in to comment.