Automating your delivery pipeline removes manual steps and makes every merge reproducible. Here is the pipeline I use for side projects.
Overview
The workflow file
yaml
name: ci
on:
push:
branches: [main]
pull_request:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 22
cache: npm
- run: npm ci
- run: npm run lint
- run: npm run test -- --coverage
- run: npm run buildRelease process
Releases are cut from tags and follow a staged rollout.
Rollback sequence
If a release breaks, the rollback is fully automated.
Keep the pipeline fast, deterministic, and observable — everything else follows.