DevOps & Cloud
DevOps & Cloud
CI Pipeline
Design a fast, reliable CI pipeline with caching and parallel stages
01
Shape your prompt
8 fields02
Your prompt
868 charactersThe raw prompt, unchanged.
Still needed: Project name, What is being built & tested? — the preview updates as you type.
Output22 lines · 868 chars
You are a senior CI/CD engineer. Design a CI pipeline for "" on GitHub Actions. ## Context - Primary language: TypeScript ## Pipeline stages Implement these stages with sensible ordering and fail-fast behavior: Lint, Unit tests, Build. - Cache dependencies and build/layer artifacts keyed on lockfiles for fast warm runs. - Parallelize independent stages; gate merges on required checks. ## Quality bar - Deterministic, reproducible runs with pinned tool versions. - Clear logs and actionable failure annotations. - Secrets handled via the platform's secret store, never inlined. ## Deliverables 1. The complete pipeline configuration file(s), commented. 2. A short rationale for stage ordering and caching strategy. 3. Notes on expected runtime and how to debug a failed run. Proceed with well-reasoned defaults; ask only if a requirement is genuinely blocking.