Jetify npx

This commit is contained in:
Jamon Holmgren
2019-09-03 18:04:03 +02:00
parent ab2b19a46d
commit a32cc59e70
2 changed files with 25 additions and 2 deletions
+23
View File
@@ -0,0 +1,23 @@
workflow "Detox CI Tests" {
on = "push"
}
jobs:
tests:
name: "Running tests"
runs-on: "macOS-latest"
steps:
- name: Setup - Install Homebrew
run: /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
- name: Setup - Install Node
run: brew install node
- name: Setup - Install React Native CLI
run: npm install -g react-native-cli
- name: Setup - Install NPM Dependencies
run: yarn
- name: Setup - Install CocoaPods CLI
run: sudo gem install cocoapods
- name: Setup - Verify
run: ./bin/setup
- name: Run tests
run: yarn ci:test
+2 -2
View File
@@ -9,8 +9,8 @@ cd examples/WebTest
# Install NPM dependencies
yarn
# Jetify deps
npm jetify
# Jetify deps (sudo if it fails for CI)
npx jetify || sudo npx jetify
# Install pods
cd ios