Skip to content

Sabadie/merge upstream 3 #7

Sabadie/merge upstream 3

Sabadie/merge upstream 3 #7

Workflow file for this run

name: macOS
on:
push:
branches:
- master
pull_request:
jobs:
build:
runs-on: macos-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Set up Node.js
uses: actions/setup-node@v2.5.1
with:
node-version: 16
- name: Cache /node_modules
uses: actions/cache@v2
with:
path: node_modules
key: ${{ runner.os }}-npm-${{ hashFiles('package-lock.json') }}
- name: Install npm dependencies
run: npm ci
- name: Install macOS dependencies
if: false # Enable this if react-native-macos falls behind
run: npm run add:macos
- name: Install Pods
run: pod install
working-directory: example/macos
- name: Build macOS test app
run: |
xcodebuild -workspace WebviewExample.xcworkspace -scheme ReactTestApp CODE_SIGNING_ALLOWED=NO COMPILER_INDEX_STORE_ENABLE=NO build
working-directory: example/macos
timeout-minutes: 60