CI/CD Pipeline Template
A template for setting up or improving a continuous integration and deployment pipeline with build, lint, test, and deploy stages.
Template Preview
Copy and use in your projectSet up CI/CD pipeline with [GitHub Actions/GitLab CI]
As a developer, I want an automated CI/CD pipeline so that every change is validated before merging and deployments happen automatically without manual intervention.
Description
Acceptance Criteria
Given I push a commit or open a pull request
When the CI pipeline triggers
Then it runs lint, type check, and tests in parallel and reports results within 5 minutes
Given any CI step fails (lint error, test failure, build error)
When the pipeline completes
Then the PR is marked as failing with a clear error message and the developer is notified
Given a commit is pushed to the main branch and all CI checks pass
When the deploy stage runs
Then the application is deployed to the target environment and a health check confirms it is running
Given the pipeline runs multiple times in a day
When dependencies have not changed
Then the cache is restored and the install step completes in under 30 seconds
Import directly into Codepylot
Skip the copy-paste. Codepylot has built-in templates you can use with one click, plus AI that generates even richer stories from your ideas.
Try Codepylot Free