1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
| name: Tests
|
| on:
| push:
| branches:
| - master
| - development
|
| jobs:
| test:
| name: Run tests
| runs-on: ubuntu-latest
| steps:
| - name: Check out monorepo
| uses: actions/checkout@v1
| - name: Install Node 12
| uses: actions/setup-node@v1
| with:
| node-version: '12.x'
| - name: Install project dependencies
| run: |
| npm install -g yarn
| yarn install
| - name: Compile subpackages
| run: yarn compile
| - name: Execute tests
| run: yarn test
|
|