About this pipeline
This app exists to demonstrate a GitLab CI/CD pipeline end to end. Each stage below has to pass before the next one runs.
- 1
Install
npm ci, using the exact versions pinned in package-lock.json.
- 2
Lint & test
ESLint and the Vitest suite run in parallel against the installed dependencies.
- 3
Build
next build runs once both checks pass.
- 4
Deploy to staging
Every push to main deploys automatically to a stable staging URL.
- 5
Deploy to production
A separate, manual step — someone has to approve it in GitLab.