|
@@ -10,11 +10,19 @@ jobs:
|
10
|
10
|
- uses: actions/setup-node@master
|
11
|
11
|
with:
|
12
|
12
|
node-version: 12.6
|
|
13
|
+ - name: Setup - Install Homebrew
|
|
14
|
+ run: /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
|
13
|
15
|
- name: Setup - Install Yarn
|
14
|
|
- run: YARN_GPG=NO curl -o- -L https://yarnpkg.com/install.sh | bash
|
|
16
|
+ run: brew install yarn --ignore-dependencies
|
15
|
17
|
- name: Setup - Install NPM Dependencies
|
16
|
18
|
run: yarn
|
17
|
19
|
- name: Setup - Install CocoaPods CLI
|
18
|
20
|
run: sudo gem install cocoapods
|
|
21
|
+ - name: Setup - Install Detox and deps
|
|
22
|
+ run: |
|
|
23
|
+ brew tap wix/brew
|
|
24
|
+ brew install applesimutils
|
|
25
|
+ yarn global add react-native-cli
|
|
26
|
+ yarn global add detox-cli
|
19
|
27
|
- name: Run tests
|
20
|
28
|
run: yarn ci
|