-
Notifications
You must be signed in to change notification settings - Fork 0
44 lines (38 loc) · 1.46 KB
/
Copy pathci-typecheck.yml
File metadata and controls
44 lines (38 loc) · 1.46 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
# ============================================================================
# 🔍 CI · Typecheck
# ----------------------------------------------------------------------------
# Purpose : TypeScript type checking across all packages (bun typecheck)
# plus oxlint warning ratchet (bun run lint, --max-warnings gate)
# Trigger : Push to `main`/`dev`, PRs targeting `main`/`dev`, manual dispatch
# Jobs : typecheck — single Linux runner, `bun run lint` + `bun typecheck`
# Gate : Required status check on BOTH `dev` and `main` rulesets — it is
# the fast gate for feat/fix → dev PRs (full test suite only gates
# dev → main, see ci-test.yml). Lint lives inside this job so it
# blocks merges without editing the rulesets' required checks.
# Notes : No push trigger on feat/* or fix/* (frequent changes); PRs cover
# them.
# ============================================================================
name: 🔍 CI · Typecheck
on:
push:
branches:
- main
- dev
pull_request:
branches:
- main
- dev
workflow_dispatch:
jobs:
typecheck:
name: Typecheck
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
- name: Setup Bun
uses: ./.github/actions/setup-bun
- name: Run lint
run: bun run lint
- name: Run typecheck
run: bun typecheck