-
Notifications
You must be signed in to change notification settings - Fork 0
27 lines (25 loc) · 766 Bytes
/
ci.yml
File metadata and controls
27 lines (25 loc) · 766 Bytes
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: CI
run-name: ${{ github.actor }} is starting CI
on: [push]
jobs:
CI:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- uses: actions/setup-node@v3
with:
node-version: '16'
- uses: nrwl/nx-set-shas@v3
- run: npm install --legacy-peer-deps
- name: Check code format
run: npx nx format:check
- name: Check with lint
run: npx nx affected -t lint --parallel=3
- name: Run unit tests
run: npx nx affected -t test --parallel=3 --configuration=ci
- name: Run e2e tests
run: npx nx affected -t e2e --parallel=3 --configuration=ci
- name: Build packages
run: npx nx affected -t build --parallel=3