Description
Set up continuous integration pipeline (GitHub Actions or GitLab CI) that runs on every push and pull request. Pipeline stages: checkout, setup Node.js, install dependencies, lint (ESLint), format check (Prettier), unit tests, E2E tests (with test database), build check, and security audit (npm audit). Fail pipeline on any lint error, test failure, or security vulnerability. Cache dependencies between runs for faster execution. Add badge to README showing pipeline status.
Acceptance Criteria
CI runs on push to main, develop, and all PR branches
Lint and format check stages
Unit tests with coverage report
E2E tests with dedicated test database container
Security audit stage
Build check (production build)
Pipeline completes in < 10 minutes
Pipeline status badge in README
Description
Set up continuous integration pipeline (GitHub Actions or GitLab CI) that runs on every push and pull request. Pipeline stages: checkout, setup Node.js, install dependencies, lint (ESLint), format check (Prettier), unit tests, E2E tests (with test database), build check, and security audit (npm audit). Fail pipeline on any lint error, test failure, or security vulnerability. Cache dependencies between runs for faster execution. Add badge to README showing pipeline status.
Acceptance Criteria
CI runs on push to main, develop, and all PR branches
Lint and format check stages
Unit tests with coverage report
E2E tests with dedicated test database container
Security audit stage
Build check (production build)
Pipeline completes in < 10 minutes
Pipeline status badge in README