Skip to content

Type-check the UI in CI - #188

Open
paul-brooks wants to merge 1 commit into
masterfrom
ci-ui-typecheck
Open

Type-check the UI in CI#188
paul-brooks wants to merge 1 commit into
masterfrom
ci-ui-typecheck

Conversation

@paul-brooks

Copy link
Copy Markdown
Contributor

viteBuild shells straight to vite, which transpiles through esbuild and strips types without checking them, so the tsc half of the npm build script never ran in CI.

Adds a typeCheck task running tsc --noEmit and puts it ahead of viteBuild.

Verified it actually gates: reintroducing the RegExp | null return from #186 fails the task with the two TS2769 errors that previously passed CI.

Fixes #187

viteBuild shells straight to vite, which transpiles through esbuild and strips
types without checking them, so the tsc half of the npm build script never ran
in CI and type errors reached master.

Adds a typeCheck task running tsc --noEmit and puts it ahead of viteBuild.

Fixes #187
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.

UI type errors don't fail CI

1 participant