CI/CD with GitHub Actions
PR Pipeline
- Lint check
- Type check (TypeScript)
- Unit tests
- Build verification
- Security scan (optional)
Deploy Pipeline
- Build Docker image
- Push to registry
- Deploy to server (SSH or webhook)
- Health check verification
- Rollback on failure
Branch Strategy
- main: production, protected
- develop: staging
- feature/*: development branches
- hotfix/*: urgent fixes