|
@@ -3,21 +3,21 @@ name: Node CI
|
3
|
3
|
on:
|
4
|
4
|
push:
|
5
|
5
|
branches:
|
6
|
|
- - master
|
|
6
|
+ - master
|
7
|
7
|
|
8
|
8
|
jobs:
|
9
|
9
|
build:
|
10
|
10
|
runs-on: ubuntu-latest
|
11
|
11
|
|
12
|
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
|