The prompt
959 charactersGenerate a GitHub Actions CI/CD workflow for the following project:
**Project type:**
**Language/Framework:**
**Package manager:**
**Deployment target:**
**Branch strategy:**
The workflow should:
1. **Trigger** on push to main and on pull requests
2. **Test** — Run linting, type checking, and test suite
3. **Build** — Production build with caching for faster runs
4. **Docker** — Build and push Docker image (if applicable)
5. **Deploy** — Deploy to on successful main branch builds
6. **Notifications** — Comment on PR with build status
Include:
- Proper secrets management (list what secrets are needed)
- Caching strategy for dependencies
- Matrix testing if multiple Node/Python versions are needed
- Concurrency settings to cancel outdated runs
- Environment-specific variables (staging vs production)
Add comments explaining each step for team members unfamiliar with GitHub Actions.
959 characters