Update build.gradle #58
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Test iOS Example App | |
on: [push, pull_request] | |
jobs: | |
react-native-ios: | |
runs-on: macos-latest | |
if: "!contains(github.event.head_commit.message, '[skip ci]')" | |
steps: | |
- name: Checkout project | |
uses: actions/checkout@v3 | |
- name: Specify node version | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 16 | |
- name: Setup Detox | |
run: | | |
brew tap wix/brew | |
brew install applesimutils | |
- name: Install node_modules | |
working-directory: example/RNBackgroundExample/ | |
run: | | |
yarn install --frozen-lockfile | |
npx pod-install ios | |
- name: Deploy | |
working-directory: example/RNBackgroundExample/ | |
run: | |
yarn deploy/release/ios | |
- name: iOS test | |
working-directory: example/RNBackgroundExample/ | |
timeout-minutes: 8 | |
run: | | |
npx detox clean-framework-cache && npx detox build-framework-cache | |
node e2e/start-server.js & | |
yarn e2e/test/ios |