vercel-ci-lab
Sandbox for production & preview deploys
Minimal Next.js app to practice CI/CD on Vercel: ship production from main and get preview URLs for every feature branch or PR.
Deployment flow
- • Push to
main→ Production deploy. - • Push to any other branch → Preview deploy with unique URL.
- • Optional CI: lint/test before calling Vercel (CLI or Deploy Hook).
Local dev
- 1)
npm install - 2)
npm run dev - 3) Open
http://localhost:3000
Edit app/page.tsx to change the UI.
Tip: set Production Branch to
main in Vercel project settings; keep Preview Deployments enabled for feature branches.