Skip to content

Add typecheck step to CI#685

Merged
truggeri merged 3 commits intomainfrom
ci-add-typecheck
Mar 26, 2026
Merged

Add typecheck step to CI#685
truggeri merged 3 commits intomainfrom
ci-add-typecheck

Conversation

@jeffwidman
Copy link
Copy Markdown
Member

Adds a "typecheck": "tsc --noEmit" script to package.json and runs it in CI before lint and test.

Since esbuild strips types without checking them, type errors were previously only caught indirectly by ts-jest during tests — and only for files covered by tests. This adds explicit type-checking as a CI gate.

npm run typecheck passes cleanly on main.

@jeffwidman jeffwidman marked this pull request as ready for review March 26, 2026 05:24
@jeffwidman jeffwidman requested a review from a team as a code owner March 26, 2026 05:24
Add a "typecheck" script (tsc --noEmit) to package.json and run it
in CI before lint and test. This catches TypeScript type errors that
esbuild silently ignores during bundling.
@truggeri truggeri merged commit a183f3c into main Mar 26, 2026
9 checks passed
@truggeri truggeri deleted the ci-add-typecheck branch March 26, 2026 18:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants