๐
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