Sabadie/merge upstream 3 #7
Workflow file for this run
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: 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/[email protected] | |
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 |