🚀
GitHub Actions CI/CD Pipeline
Set up a complete CI/CD pipeline with testing, building, and deployment
prompt template
Create a GitHub Actions CI/CD pipeline for my project. **Stack:** [YOUR_STACK — e.g., "Next.js, PostgreSQL, deployed to Vercel"] **Package manager:** [npm / pnpm / yarn / bun] **Test framework:** [vitest / jest / playwright] Generate a `.github/workflows/ci.yml` that: **On pull request:** 1. Install dependencies (with caching) 2. Run TypeScript type checking 3. Run ESLint 4. Run unit tests with coverage report 5. Run build to catch compile errors 6. Post a comment with test results summary **On push to main:** 1. All of the above, plus: 2. Run E2E tests against a preview deployment 3. Deploy to production (if all checks pass) Include: - Dependency caching for faster runs - Parallel jobs where possible - Matrix testing if relevant (Node versions) - Proper secret handling for environment variables - Status badges markdown for README - Estimated run time for each job Use current best practices and latest action versions.
How to Use This Prompt
- 1Copy the prompt template above
- 2Paste into Claude, ChatGPT, or Cursor
- 3Replace [bracketed placeholders] with your specific project details
- 4Iterate on the AI output to refine and customize the results
More DevOps Prompts
Related devops templates from the vault
🚀
Kubernetes Pod Autoscaling Config
Use this prompt to kubernetes pod autoscaling config with AI assistance
Intermediatekubernetesautoscaling
🚀
GitOps Disaster Recovery Playbook
PROCreate a complete disaster recovery playbook for a GitOps-managed infrastructure with RTO and RPO targets
Advanceddevopsdisaster-recovery
🚀
Terraform Infrastructure Module
Use this prompt to terraform infrastructure module with AI assistance
Beginnerterraformiac
🚀
Environment Variable Setup Guide
Set up environment variables properly across development, staging, and production
Beginnerenv-varsconfiguration
You Might Also Like
Prompts from other categories that share similar tags
🧪
TestingPRO
Smoke Test Suite for Deployments
Use this prompt to smoke test suite for deployments with AI assistance
Shared:deploymentci-cd
📝
Documentation
Deployment Guide Writer
Use this prompt to deployment guide writer with AI assistance
Shared:deploymentdevops
🧪
TestingPRO
E2E Test Scenario Writer
Write end-to-end test scenarios for user flows
Shared:automationci-cd
🐛
Debugging
Flaky Test Debugger
Diagnose and fix intermittently failing tests
Shared:ci-cd
Keep Exploring the Vault