Verify Build

Runs npm run build to catch Vite/Rollup failures before merge. Use when validating frontend changes or in CI pre-merge loops.

HeyEddi-com b33a04c 7 files · 4.3 KB Updated

File contents

Verify Build

When to use

  • Before opening or approving a PR with frontend changes
  • After refactoring imports, routes, or Vite config
  • When static generation or bundle errors are suspected

Instructions

  1. Ensure dependencies are installed (npm ci or npm install).
  2. Run bash scripts/verify_build.sh --project-root <root>.
  3. If build fails, read the Rollup/Vite stack trace and fix imports or types.
  4. Re-run until output shows success.

Scripts

  • verify_build.sh — executes npm run build and returns combined output

HeyEddi-com/heyeddi-skills/tree/main/.agents/skills/verify-build commit b33a04c787

Frequently asked questions

npx skillmds@latest add heyeddi-com/verify-build-2