-
Notifications
You must be signed in to change notification settings - Fork 0
44 lines (34 loc) · 905 Bytes
/
Copy pathvalidate.yml
File metadata and controls
44 lines (34 loc) · 905 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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
name: Validate
on:
pull_request:
branches: [main]
push:
branches: [main]
jobs:
ci:
name: Lint, Format, Typecheck, Build
runs-on: ubuntu-latest
# Playwright is required for mermaid diagrams support
container: mcr.microsoft.com/playwright:v1.55.0-jammy
steps:
- name: ⬇️ Checkout
uses: actions/checkout@v5
- name: 📦 Setup pnpm
uses: pnpm/action-setup@v4
- name: 🧰 Setup Node
uses: actions/setup-node@v5
with:
node-version: '22.19.0'
cache: pnpm
- name: 📥 Install deps
run: pnpm i --frozen-lockfile
- name: 🎨 Format
run: pnpm format:check
- name: 🧹 Lint
run: pnpm lint:check
- name: ✂️ Knip
run: pnpm knip
- name: 🧪 Typecheck
run: pnpm typecheck
- name: 🏗️ Build
run: pnpm build