2019-09-04 13:45:27 +02:00
|
|
|
name: 'Detox CI Tests'
|
2020-05-08 13:24:37 -07:00
|
|
|
on: [pull_request]
|
2019-09-04 13:45:27 +02:00
|
|
|
|
|
|
|
jobs:
|
|
|
|
tests:
|
|
|
|
name: 'Running tests'
|
|
|
|
runs-on: 'macOS-latest'
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@master
|
|
|
|
- uses: actions/setup-node@master
|
|
|
|
with:
|
|
|
|
node-version: 12.6
|
|
|
|
- name: Setup - Install Yarn
|
|
|
|
run: YARN_GPG=NO curl -o- -L https://yarnpkg.com/install.sh | bash
|
|
|
|
- name: Setup - Install NPM Dependencies
|
2019-11-13 12:58:27 +03:00
|
|
|
run: yarn --frozen-lockfile
|
2019-09-04 13:45:27 +02:00
|
|
|
- name: Setup - Install CocoaPods CLI
|
2019-11-13 12:57:52 +03:00
|
|
|
run: sudo gem install cocoapods -v 1.8.4
|
2019-09-04 13:45:27 +02:00
|
|
|
- name: Run tests
|
|
|
|
run: yarn ci
|