-
Notifications
You must be signed in to change notification settings - Fork 0
44 lines (43 loc) · 1.18 KB
/
check.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
name: check
on:
pull_request:
types: [opened, edited, synchronize, reopened]
jobs:
test:
runs-on: ubuntu-latest
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}-test
cancel-in-progress: true
steps:
- uses: actions/checkout@v3
- uses: ./.github/workflows/modules/setup-node
- run: npm run test
lint:
runs-on: ubuntu-latest
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}-lint
cancel-in-progress: true
steps:
- uses: actions/checkout@v3
- uses: ./.github/workflows/modules/setup-node
- run: npm run lint
build:
runs-on: ubuntu-latest
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}-build
cancel-in-progress: true
steps:
- uses: actions/checkout@v3
- uses: ./.github/workflows/modules/setup-node
- run: |
npm run build
npx publint
type-check:
runs-on: ubuntu-latest
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}-type-check
cancel-in-progress: true
steps:
- uses: actions/checkout@v3
- uses: ./.github/workflows/modules/setup-node
- run: npm run type-check