-
-
Notifications
You must be signed in to change notification settings - Fork 0
52 lines (40 loc) · 1.1 KB
/
single-spa-aurelia.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
50
51
52
name: single-spa-aurelia
on:
push:
branches:
- master
pull_request:
jobs:
build:
runs-on: ubuntu-18.04
strategy:
fail-fast: true
steps:
- uses: actions/checkout@v2
- uses: actions/cache@v1
id: yarn-cache
with:
path: |
node_modules
*/*/node_modules
~/.cache
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys: ${{ runner.os }}-yarn
- uses: actions/setup-node@v1
with:
node-version: 12.12
- name: Install dependencies
if: steps.yarn-cache.outputs.cache-hit != 'true'
run: yarn --pure-lockfile --non-interactive --no-progress
- name: Run ESLint
run: yarn lint
- name: Run Jest
run: yarn test:ci
- name: Build library
run: yarn build
- name: Install packages for integration apps
run: yarn install:integration
- name: Build integration apps
run: yarn build:integration
- name: Run end-to-end tests via Cypress
run: yarn test:ci:integration