Browse Source

Fix test command

Janic Duplessis 5 years ago
parent
commit
bda1571209
1 changed files with 12 additions and 12 deletions
  1. 12
    12
      .github/workflows/nodejs.yml

+ 12
- 12
.github/workflows/nodejs.yml View File

3
 on:
3
 on:
4
   push:
4
   push:
5
     branches:
5
     branches:
6
-    - master
6
+      - master
7
 
7
 
8
 jobs:
8
 jobs:
9
   build:
9
   build:
10
     runs-on: ubuntu-latest
10
     runs-on: ubuntu-latest
11
 
11
 
12
     steps:
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
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 test