chore: run primary CI before push

This commit is contained in:
Tianyi Cui
2026-07-23 13:09:52 +08:00
parent 3e3ea47296
commit 00d5b69882
18 changed files with 132 additions and 37 deletions
+4 -4
View File
@@ -1,5 +1,5 @@
# Git hooks (lefthook). Keep these local checkpoints fast; CI owns the full
# repository-wide gate matrix.
# Git hooks (lefthook). Pre-commit keeps commit-local checks fast; pre-push
# runs the primary Node CI inventory before publication.
# Install: `pnpm exec lefthook install` (runs automatically via postinstall).
pre-commit:
@@ -19,5 +19,5 @@ pre-commit:
pre-push:
jobs:
- name: typecheck
run: node_modules/.bin/tsc -b --pretty false
- name: primary CI
run: pnpm run check:pre-push