Skip to content

Update build.gradle #58

Update build.gradle

Update build.gradle #58

Workflow file for this run

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