浏览代码

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 年前
父节点
当前提交
f5c701a062
共有 1 个文件被更改,包括 20 次插入0 次删除
  1. 20
    0
      .github/workflows/detox.yml

+ 20
- 0
.github/workflows/detox.yml 查看文件

@@ -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