Browse Source

chore(Github Actions): Added detox.yml workflow Github Action (#843)

* Added detox.yml workflow Github Action

* Fix yml format

* Update detox.yml

* Update detox.yml

* Update detox.yml

* Update detox.yml

* Update detox.yml

* Update detox.yml

* Update detox.yml

* ffs

* okay

* pay attention

* try this?

* Update detox.yml

* Wait really?

* Update detox.yml

* Better yarn install
Jamon Holmgren 5 years ago
parent
commit
f5c701a062
1 changed files with 20 additions and 0 deletions
  1. 20
    0
      .github/workflows/detox.yml

+ 20
- 0
.github/workflows/detox.yml View File

@@ -0,0 +1,20 @@
1
+name: 'Detox CI Tests'
2
+on: [push]
3
+
4
+jobs:
5
+  tests:
6
+    name: 'Running tests'
7
+    runs-on: 'macOS-latest'
8
+    steps:
9
+      - uses: actions/checkout@master
10
+      - uses: actions/setup-node@master
11
+        with:
12
+          node-version: 12.6
13
+      - name: Setup - Install Yarn
14
+        run: YARN_GPG=NO curl -o- -L https://yarnpkg.com/install.sh | bash
15
+      - name: Setup - Install NPM Dependencies
16
+        run: yarn
17
+      - name: Setup - Install CocoaPods CLI
18
+        run: sudo gem install cocoapods
19
+      - name: Run tests
20
+        run: yarn ci