Skip to content

iOS

iOS #22

Workflow file for this run

name: iOS
on:
workflow_dispatch:
# pull_request:
# push:
# tags:
# - 'v*'
jobs:
e2e:
runs-on: macos-latest
steps:
- uses: actions/checkout@v4
- id: yarn-cache
uses: actions/cache@v4
with:
path: |
**/node_modules
.yarn/install-state.gz
key: ${{ runner.os }}-yarn-${{ hashFiles('yarn.lock') }}-${{ hashFiles('**/package.json', '!node_modules/**') }}
restore-keys: |
${{ runner.os }}-yarn-${{ hashFiles('yarn.lock') }}
${{ runner.os }}-yarn-
- uses: actions/setup-node@v4
with:
node-version-file: .nvmrc
- run: |
npm install -g detox-cli
npm install -g yarn
npm install -g node-gyp
- name: Install Detox
run: |
brew tap wix/brew
brew install applesimutils
- if: steps.yarn-cache.outputs.cache-hit != 'true'
run: yarn install --immutable
shell: bash
- run: yarn example build:ios
- run: yarn example start &
timeout-minutes: 20
- run: yarn example test:ios