Skip to content

fix(android): child argument types in addView methods (#857) #285

fix(android): child argument types in addView methods (#857)

fix(android): child argument types in addView methods (#857) #285

Workflow file for this run

name: iOS Build
on:
pull_request:
branches:
- master
paths:
- '.github/workflows/ios.yml'
- 'ios/**'
- 'example/ios/**'
push:
branches:
- master
jobs:
ios-build:
runs-on: macos-14
concurrency:
group: ${{ github.ref }}-ios
cancel-in-progress: true
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/install-dependencies
- name: Pull dependencies
uses: actions/cache@v4
with:
path: ./node_modules
key: ${{ hashFiles('./package.json') }}
- name: Cache example node modules
id: cache-example-npm
uses: actions/cache@v4
env:
cache-name: cached-example-npm-deps
with:
path: example/node_modules
key: ${{ hashFiles('./example/yarn.lock') }}-${{ hashFiles('./yarn.lock') }}
- name: Install required example dependencies on yarn.lock change
if: steps.cache-example-npm.outputs.cache-hit != 'true'
run: yarn install --frozen-lockfile
working-directory: example
- name: Cache Pods
id: cache-pods
uses: actions/cache@v4
env:
cache-name: cached-ios-pods-deps
with:
path: example/ios/Pods
key: ${{ hashFiles('./example/ios/Podfile.lock') }}
- name: Install example Pods
run: pod install
working-directory: example/ios
- name: Install Maestro CLI
run: |
curl -Ls "https://get.maestro.mobile.dev" | bash
brew tap facebook/fb
brew install facebook/fb/idb-companion
- name: Add Maestro to path
run: echo "${HOME}/.maestro/bin" >> $GITHUB_PATH
- name: Build iOS App
run: |
yarn run-example-ios
- name: Run tests
run: |
yarn test:e2e:ios