-
Notifications
You must be signed in to change notification settings - Fork 125
49 lines (49 loc) · 1.04 KB
/
ci.yml
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
name: ci
on:
push:
branches: [ master ]
pull_request:
workflow_dispatch:
permissions:
actions: none
checks: none
contents: read
deployments: none
issues: none
packages: none
pull-requests: none
repository-projects: none
security-events: none
statuses: none
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/setup-node@v2
with:
node-version: '14.20'
- name: Checkout
uses: actions/checkout@v2
- name: Prepare demo-app
run: |
cd pizza-demo
npm ci
- name: Prepare lib
run: |
cd lib
npm ci
- name: Prepare root
run: |
npm ci
- name: Execute tests with defaults
run: |
npm run serve-and-test:parallel
- name: Execute only some tests
run: |
npm run serve-and-test:parallel:some
- name: Execute tests with spec reporter
run: |
npm run serve-and-test:parallel:spec
- name: Execute tests with junit reporter
run: |
npm run serve-and-test:parallel:junit