ci: restore the typecheck gate in both workflows

`pnpm test` is the vitest run only since the local pre-commit flow took typecheck over, so neither PR checks nor release builds type-checked anything, and the pr-checks comment still claimed the single test run covered it. Both workflows now run `pnpm run typecheck` beside lint, and the comment says what the vitest run actually covers.
This commit is contained in:
bowenliang123 committed 2026-10-13 23:30:03 +08:00
1 parent dd05bbda4e
commit d9d3868dc4
2 files changed
+9 -3

No files matched your search

+6 -3
View File
@@ -37,6 +37,9 @@ jobs:
- name: Lint
run: pnpm run lint
- name: Typecheck
run: pnpm run typecheck
# The `compat` vitest project inside `pnpm test` boots the BUILT plugin
# against the REAL harness sources at every supported baseline tag
# (tests/baselines.ts is the source of truth — keep this fetch list in
@@ -53,8 +56,8 @@ jobs:
refs/tags/dsh-v0.1.7-rc.2:refs/tags/dsh-v0.1.7-rc.2 \
refs/tags/dsh-v0.2.0-rc.2:refs/tags/dsh-v0.2.0-rc.2
# One run covers everything: typecheck, all three vitest projects (host
# and client against src, compat against the BUILT plugin at each
# baseline tag), and the per-file coverage thresholds.
# `pnpm test` is the vitest run only: all three projects (host and client
# against src, compat against the BUILT plugin at each baseline tag) plus
# the per-file coverage thresholds. Typecheck is its own step above.
- name: Test
run: DSH_REPO="$PWD/.tmp/dsh-repo" pnpm test
+3
View File
@@ -45,6 +45,9 @@ jobs:
- name: Lint
run: pnpm run lint
- name: Typecheck
run: pnpm run typecheck
# The `compat` vitest project inside `pnpm test` stages the REAL harness
# sources at every supported baseline tag (tests/baselines.ts is the
# source of truth — keep this fetch list in step when a baseline is