Pre-deploy Check
Run all validation steps before deploying to Vercel. Report results for each step. If any step fails, stop and show the errors.
Steps
- •TypeScript type check —
npx tsc -b - •Run tests —
npm run test - •Production build —
npm run build
On Success
Report all three steps passed and confirm the app is ready to deploy.
On Failure
Stop at the first failing step. Show the full error output and suggest fixes. Do not proceed to later steps — a type error means the build will also fail.