Repository navigation
59 lines (55 loc) · 1.7 KB
/
Copy pathquality.yml
File metadata and controls
59 lines (55 loc) · 1.7 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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
name: Quality
on:
pull_request:
push:
branches: [main]
workflow_dispatch:
jobs:
verify:
runs-on: ubuntu-latest
timeout-minutes: 20
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
- uses: actions/setup-node@v4
with:
node-version: 24
cache: pnpm
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: Check
run: pnpm check
- name: Unit tests
run: pnpm test
- name: Structural tests
run: pnpm test:structural
- name: Planning audit
run: pnpm audit:planning
- name: Build
run: pnpm build
- name: Full static preset validation (explicit dispatch)
if: github.event_name == 'workflow_dispatch'
run: pnpm verify-presets --all
integration:
# Native GitHub manual dispatch, not a custom changed-path router.
if: github.event_name == 'workflow_dispatch'
needs: verify
runs-on: ubuntu-latest
timeout-minutes: 20
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
- uses: actions/setup-node@v4
with:
node-version: 24
cache: pnpm
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: Install ffmpeg
run: sudo apt-get update && sudo apt-get install --yes ffmpeg
- name: Install Playwright Chromium
run: pnpm exec playwright install --with-deps chromium
- name: Browser and media integration tests
run: pnpm test:integration
# The existing WebGPU render test needs a GPU-equipped machine; the browser
# capture integration above is ordinary Chromium, not the Canvas render matrix.