-
Notifications
You must be signed in to change notification settings - Fork 0
48 lines (36 loc) · 1.05 KB
/
ci.yml
File metadata and controls
48 lines (36 loc) · 1.05 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
name: CI
on:
push:
branches: [main, 'feature/**']
pull_request:
branches: [main]
concurrency:
group: ci-${{ github.ref }}
cancel-in-progress: ${{ github.event_name == 'pull_request' }}
jobs:
quality:
name: Type Check, Lint & Test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- uses: actions/setup-node@v5
with:
node-version: 24
cache: npm
# Use npm install instead of npm ci — the lock file is generated on Windows
# and may miss Linux-only optional transitive deps. --ignore-scripts skips
# electron-builder install-app-deps (node-pty not needed for CI checks).
- name: Install dependencies
run: npm install --ignore-scripts
- name: Build templates
run: node scripts/build-templates.js
- name: Type check
run: npm run typecheck
- name: Lint
run: npm run lint
- name: Test
run: npm test
- name: Verify hooks
run: npm run verify:hooks
- name: Build
run: npm run build