Skip to content

Add GitHub Actions CI/CD pipeline #78

Description

@SagiEv

Add GitHub Actions CI/CD pipeline

Goal

Automate quality checks and deployment through GitHub Actions.

CI

On pull requests and relevant pushes:

  1. Install dependencies.
  2. Run lint.
  3. Run backend unit tests.
  4. Run AI-service tests.
  5. Run frontend tests.
  6. Run integration tests.
  7. Run E2E tests where appropriate.
  8. Build the application.
  9. Validate required schemas/configuration.

CD

Define deployment workflows for the project's existing environments.

Recommended environments:

  • Development
  • Staging
  • Production

Production deployment should require appropriate protection/approval where applicable.

Requirements

  • Cache dependencies where useful.
  • Fail fast on critical errors.
  • Store test reports/artifacts where useful.
  • Do not expose secrets in logs.
  • Use GitHub Secrets/environment variables for credentials.
  • Pin action versions appropriately.
  • Clearly identify CI vs deployment workflows.

Acceptance Criteria

  • Pull requests automatically run CI.
  • Failed tests block successful CI.
  • Lint failures block CI.
  • Build is validated.
  • Deployment workflow exists for supported environments.
  • Secrets are handled securely.
  • Workflow documentation is added.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions