Skip to main content

CI/CD Overview

Continuous Integration and Continuous Deployment automate testing and releasing software.

Pipeline Stages

  1. Build — compile/package the application
  2. Test — run unit, integration, and e2e tests
  3. Deploy — push to staging/production

GitHub Actions Example

name: CI
on: [push, pull_request]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
- run: npm ci
- run: npm test