Skip to content

CI/CD pipeline for lint + tests #501

@nafiuishaaq

Description

@nafiuishaaq

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions