-
Notifications
You must be signed in to change notification settings - Fork 0
42 lines (40 loc) · 1.08 KB
/
ci.yml
File metadata and controls
42 lines (40 loc) · 1.08 KB
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
name: HiCAD CI
on:
push:
branches: [main, 'codex/**']
pull_request:
jobs:
quality:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
cache: pnpm
- name: Enable pnpm
run: corepack enable
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: Install Playwright browser
run: pnpm exec playwright install --with-deps chromium
- name: Install startup tooling
run: sudo apt-get update && sudo apt-get install -y lsof
- name: Format check
run: pnpm format:check
- name: Lint
run: pnpm lint
- name: Audit production dependencies
run: pnpm audit:prod
- name: Test
run: pnpm test
- name: Typecheck
run: pnpm typecheck
- name: Build
run: pnpm build
- name: Bundle budget
run: pnpm bundle:check
- name: Playwright E2E
run: pnpm test:e2e
- name: Combined quality command
run: pnpm ci:quality