-
Notifications
You must be signed in to change notification settings - Fork 4
40 lines (31 loc) · 1.01 KB
/
check-pr.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
name: Quality Gate
on: pull_request
jobs:
npm:
name: Install, verify and build
runs-on: ubuntu-latest
container:
image: mcr.microsoft.com/playwright:v1.33.0-jammy
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Install Node.js
uses: actions/setup-node@v3
with:
node-version: 18
- uses: pnpm/action-setup@v2
name: Install pnpm
id: pnpm-install
with:
version: 8.6.2
run_install: false
- name: Install dependencies
run: pnpm i
- name: (monorepo) format.verify
run: pnpm format.verify
- name: (monorepo) lint.verify
run: pnpm lint.verify
- name: (tokens) verify
run: cd packages/tokens && pnpm verify
- name: (components) verify
run: cd packages/components && pnpm verify