Awesome-omni-skill cicd-pipeline
Use when setting up GitHub Actions, automated testing, build checks, or deployment workflows. Triggers on "CI/CD", "pipeline", "GitHub Actions", "deploy", "automated testing", "build check".
install
source · Clone the upstream repo
git clone https://github.com/diegosouzapw/awesome-omni-skill
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/diegosouzapw/awesome-omni-skill "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/devops/cicd-pipeline" ~/.claude/skills/diegosouzapw-awesome-omni-skill-cicd-pipeline && rm -rf "$T"
manifest:
skills/devops/cicd-pipeline/SKILL.mdsource content
CI/CD Pipeline
Overview
Set up continuous integration and deployment with GitHub Actions, build verification, and deployment gates.
When to Use
- Setting up CI/CD from scratch
- Adding build checks to PRs
- Configuring automated test runs
- Production deployment automation
Workflow
Phase 1: CI Workflow
.github/workflows/ci.yml:
name: CI on: push: branches: [main] pull_request: branches: [main] jobs: build: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 with: node-version: 20 cache: npm - run: npm ci - run: npm run lint - run: npm run build - run: npm run test edge-functions: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - uses: denoland/setup-deno@v2 - run: deno check supabase/functions/*/index.ts
Phase 2: Deploy Workflow
deploy: needs: [build, edge-functions] if: github.ref == 'refs/heads/main' runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 with: { node-version: 20, cache: npm } - run: npm ci && npm run build # Deploy to hosting + edge functions
Phase 3: Branch Protection
- Require CI pass before merge
- Require PR review
- No force push to main
Checklist
- CI runs on push + PRs
- Build, lint, test steps
- Edge function type check
- Deploy only on main after checks pass
- Secrets in GitHub Actions secrets
- Branch protection rules enabled