Ver código fonte

Add github ci

Janic Duplessis 5 anos atrás
pai
commit
57c4c0a82e
1 arquivos alterados com 23 adições e 0 exclusões
  1. 23
    0
      .github/workflows/nodejs.yml

+ 23
- 0
.github/workflows/nodejs.yml Ver arquivo

@@ -0,0 +1,23 @@
1
+name: Node CI
2
+
3
+on:
4
+  push:
5
+    branches:
6
+    - master
7
+
8
+jobs:
9
+  build:
10
+    runs-on: ubuntu-latest
11
+
12
+    steps:
13
+    - uses: actions/checkout@v1
14
+    - name: Use Node.js 10.x
15
+      uses: actions/setup-node@v1
16
+      with:
17
+        node-version: 10.x
18
+    - name: Install yarn
19
+      run: npm install -g yarn
20
+    - name: Install dependencies
21
+      run: yarn install
22
+    - name: Run tests
23
+      run: yarn workspaces run test