Build a comprehensive CI/CD pipeline with GitHub Actions.
A production-ready CI/CD pipeline using GitHub Actions. Includes testing, linting, building, security scanning, and deployment workflows. Features reusable workflows, matrix builds, caching strategies, and integration with various deployment targets.
- Automated testing on PR
- Linting and formatting checks
- Build and artifact creation
- Security scanning (CodeQL, dependencies)
- Docker image building and pushing
- Deployment to multiple environments
- Release automation
- Scheduled jobs
- Reusable workflows
- Matrix builds for multiple versions
- Caching for faster builds
- Create .github/workflows directory
- Set up workflow templates
- Create reusable workflow files
- Document workflow structure
- Create main CI workflow
- Add checkout and setup steps
- Configure dependency caching
- Run linting
- Run tests with coverage
- Upload coverage reports
- Create build workflow
- Add matrix for Node versions
- Build application
- Upload build artifacts
- Add build caching
- Create Docker build workflow
- Set up Docker layer caching
- Build and tag images
- Push to container registry
- Add multi-platform builds
- Add CodeQL analysis
- Configure dependency scanning
- Add secret scanning
- Set up SAST workflow
- Configure vulnerability alerts
- Create staging deployment
- Create production deployment
- Add manual approval gates
- Configure environment secrets
- Add rollback capability
- Create release workflow
- Auto-generate changelog
- Create GitHub release
- Publish to npm (if applicable)
- Tag Docker images
- Create dependency update check
- Add periodic security scan
- Create cleanup workflow
- Add health check workflow
- Create reusable test workflow
- Create reusable deploy workflow
- Create reusable Docker workflow
- Document workflow inputs/outputs
- Add PR labeler
- Create PR size check
- Add auto-assign reviewers
- Create PR template checks
- GitHub Actions
- Docker
- Node.js
- CodeQL
- Shell scripting
.github/workflows/ci.yml.github/workflows/cd.yml.github/workflows/docker.yml.github/workflows/release.yml.github/workflows/security.yml.github/workflows/scheduled.yml.github/workflows/reusable-test.yml.github/workflows/reusable-deploy.yml.github/actions/setup/action.yml.github/dependabot.yml.github/CODEOWNERS.github/pull_request_template.md.github/ISSUE_TEMPLATE/bug_report.md.github/ISSUE_TEMPLATE/feature_request.mdREADME.md