How do you design CI for a repo where a full pipeline takes 50 minutes?
AdvancedProductionGitHub Actions, environments and releases in production
Answer
Break it into affected-only builds using a dependency graph, shard tests, remote build cache (Bazel, Nx), push expensive end-to-end tests to post-merge or nightly with fast pre-merge subsets, and set a target such as p90 under 15 minutes. Track the numbers as a team metric, because CI time is the biggest driver of branch lifetime.
More on GitHub Actions, environments and releases in production
How do you structure workflows for a typical service (build, test, deploy)?BeginnerHow do reusable workflows differ from composite actions and when do you use each?IntermediateHow do you speed up slow GitHub Actions pipelines?IntermediateDesign a progressive delivery pipeline from merge to production using GitHub Actions and environments.AdvancedHow do you manage secrets and variables across org, repo and environment levels?IntermediateWhat does `concurrency` do in a deploy workflow and why does it matter?Beginner