Detox setup

This commit is contained in:
Jamon Holmgren
2019-09-04 14:25:33 +02:00
parent 57b7ac1822
commit bb1c09e842
+9 -1
View File
@@ -10,11 +10,19 @@ jobs:
- uses: actions/setup-node@master
with:
node-version: 12.6
- name: Setup - Install Homebrew
run: /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
- name: Setup - Install Yarn
run: YARN_GPG=NO curl -o- -L https://yarnpkg.com/install.sh | bash
run: brew install yarn --ignore-dependencies
- name: Setup - Install NPM Dependencies
run: yarn
- name: Setup - Install CocoaPods CLI
run: sudo gem install cocoapods
- name: Setup - Install Detox and deps
run: |
brew tap wix/brew
brew install applesimutils
yarn global add react-native-cli
yarn global add detox-cli
- name: Run tests
run: yarn ci