To further limit our usage on Vercel, we could enforce checks to pass before running the preview deployment workflow. In particular, we've had some cases where build fails due to TypeScript issues. In order to avoid doing an entire Next.js build, we can just run the TypeScript compiler.
Require checks workflow to succeed before running preview deployment, similar to #234
Run TypeScript checker on site as part of our checks workflow with tsc --noEmit
To further limit our usage on Vercel, we could enforce checks to pass before running the preview deployment workflow. In particular, we've had some cases where build fails due to TypeScript issues. In order to avoid doing an entire Next.js build, we can just run the TypeScript compiler.
tsc --noEmit