-
-
Notifications
You must be signed in to change notification settings - Fork 78
49 lines (38 loc) · 1 KB
/
single-spa-angular.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: single-spa-angular
on:
push:
branches:
- master
pull_request:
jobs:
build:
runs-on: ubuntu-latest
strategy:
fail-fast: true
steps:
- uses: actions/checkout@v4
- uses: actions/cache@v4
with:
# Default cache directory for both Yarn and Cypress
path: ~/.cache
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-yarn-
- uses: actions/setup-node@v4
with:
node-version: '18.13'
registry-url: 'https://registry.npmjs.org'
- name: Install dependencies
run: yarn --pure-lockfile
- name: Run ESLint
run: yarn lint
- name: Run Jest
run: yarn test:ci
- name: Build packages
run: yarn build
- name: Build integration apps
run: yarn build:all
- name: Run end-to-end tests via Cypress
env:
NO_UPDATE_CHECK: 1
run: yarn test:ci:integration