Getting Started: CI/CD Quickstart

Set up continuous drift detection in under 10 minutes. Quick-start templates for GitHub Actions, Azure DevOps, GitLab CI, and generic pipelines.

Vibgrate Docs

Vibgrate Help

Overview

Most teams adopt Vibgrate in two steps:

  1. One-off scan to establish a baseline and identify immediate priorities
  2. CI integration to continuously detect drift regression on every PR/build
ModeBenefitsTypical Command
One-off scanFast snapshot of current upgrade debtnpx @vibgrate/cli scan .
CI-integratedContinuous governance with failure thresholdsnpx @vibgrate/cli scan . --format sarif --fail-on error

Step 1: Establish a Baseline

# Run on your main branch
npx @vibgrate/cli baseline .
git add .vibgrate/baseline.json
git commit -m 'chore: initial drift baseline'

Step 2: Choose Your CI Platform

name: Vibgrate
on: [pull_request, push]
jobs:
  drift:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
      - uses: actions/setup-node@v4
        with:
          node-version: 22
      - run: npx @vibgrate/cli scan . --baseline .vibgrate/baseline.json --drift-budget 40 --fail-on error

Generic (any CI)

npx @vibgrate/cli scan . --baseline .vibgrate/baseline.json --drift-budget 40 --fail-on error

Step 3: Optional Dashboard Push

Add a DSN secret to your CI environment and push results:

      - run: npx @vibgrate/cli push --strict
        env:
          VIBGRATE_DSN: ${{ secrets.VIBGRATE_DSN }}

What Happens Next

  • PRs that introduce drift beyond your budget will fail the check
  • The dashboard (if enabled) shows historical trends
  • Refresh your baseline periodically after planned upgrade sprints