-
Notifications
You must be signed in to change notification settings - Fork 8
31 lines (29 loc) · 950 Bytes
/
ngqp.yaml
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
28
29
30
31
name: ngqp CI
on: [push]
jobs:
ci:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Use Node 16.x
uses: actions/setup-node@v1
with:
node-version: '16.x'
- uses: actions/cache@v2
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-
- name: Install dependencies
run: yarn install --frozen-lockfile
- name: Lint
run: yarn run lint
- name: Build ngqp
run: yarn run core:build
- name: Execute tests
run: yarn run core:test
- name: Build demo
run: yarn run demo:build:prod
- name: Code coverage
run: yarn run codecov