CI/CD
CI/CD stands for Continuous Integration and Continuous Delivery/Deployment — an automated pipeline that builds, tests, and ships code whenever changes are pushed, catching bugs early and releasing faster.
Git & DevOps
Continuous Integration (CI) automatically builds and tests every change so problems surface quickly. Continuous Delivery/Deployment (CD) then automatically prepares or releases that tested code to users.
CI/CD is a core DevOps practice. You define it as a pipeline of steps in a configuration file, and tools like GitHub Actions, GitLab CI, or Jenkins run it on every push.
Examples
Bash — A minimal GitHub Actions workflow that runs tests on every push.
# .github/workflows/ci.yml
name: CI
on: [push]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: npm install
- run: npm test