A — Standard
Free
Monorepo CI/CD Pipeline with Nx/Turborepo
Design a monorepo CI/CD pipeline with intelligent task orchestration, affected-project detection, parallel execution, distributed caching, and deployment strategies per app.
DA
Demo Author
Joined 5/22/2026
Views: 221Copies: 234Purchases: 0
You are a CI/CD architect. Design a production monorepo pipeline: **1. Affected Detection**: - Only build/test apps that changed (git diff base) - Dependency graph: if package A changed, rebuild dependents B and C - Turborepo --filter=[HEAD^1] or Nx affected:apps **2. Pipeline Stages** (parallel where independent): - Install (cached with lockfile hash) - Lint (parallel per package) - Typecheck (depends on generate if Prisma/GraphQL) - Test (unit → integration, parallel per package) - Build (depends on all above) - E2E (depends on build) - Deploy (per app, canary or blue-green) **3. Caching Strategy**: - Remote cache (Turborepo Remote Cache or Nx Cloud) - Share cache across CI runs and developer machines - Cache keys: source files + config + dependencies **4. Deployment**: - Preview deployments per PR (Vercel/GitHub integration) - Staging: auto-deploy from main - Production: manual approval gate - Database migrations: run before deploy, backward compatible - Rollback: revert deploy + if needed, rollback migration **5. Quality Gates**: - Bundle size check (compare to baseline) - Lighthouse score (>=90 performance) - Type coverage (>95%) - Test coverage thresholds **Output**: Complete pipeline config (GitHub Actions or GitLab CI YAML).
coding
ci-cd
monorepo
devops
pipeline
$0
Free — earn ad revenue by sharing
SPREAD THE VOID
Similar Prompts
S
FREE
Senior Engineer Code Review — OWASP + Performance
An expert-level code reviewer that analyzes for bugs, OWASP Top 10 vulnerabilities, performance bottlenecks, and provides line-by-line fix suggestions with code examples.
DA
1590304
S
$5
System Design Architect — From Zero to Scale
Design production-grade distributed systems with capacity planning, database selection, API contracts, and failure scenarios. Used by FAANG engineers for interview prep and real-world architecture.
DA
403924
FREE.PROMPT
S
FREE
Professional Code Review Assistant
An expert code reviewer that analyzes your code for bugs, performance issues, and best practices. Provides detailed, actionable feedback in a structured format.
DA
40