Some checks failed
Veza CD / Build and push images (push) Failing after 1m10s
Chromatic / Visual regression tests (push) Failing after 12s
Veza CI/CD / TMT Vital — Backend (Go) (push) Failing after 3m33s
Veza CI/CD / TMT Vital — Rust Services (push) Failing after 4m48s
Veza CI/CD / TMT Vital — Frontend (Web) (push) Failing after 4m54s
Veza CI/CD / Storybook Audit (push) Failing after 6m50s
Veza CI/CD / E2E Critical (@critical) (push) Failing after 5m2s
Veza CI/CD / E2E Full (shard 1/4) (push) Failing after 4m49s
Veza CI/CD / E2E Full (shard 2/4) (push) Failing after 5m5s
Veza CI/CD / E2E Full (shard 3/4) (push) Failing after 5m9s
Veza CI/CD / E2E Full (shard 4/4) (push) Failing after 5m0s
CodeQL SAST / analyze (go) (push) Failing after 11s
CodeQL SAST / analyze (javascript-typescript) (push) Failing after 9s
Security Scan / Secret Scanning (gitleaks) (push) Failing after 4s
Stream Server CI / test (push) Failing after 11s
Veza CD / Deploy to staging (push) Has been skipped
Veza CI/CD / Notify on failure (push) Successful in 2s
Veza CD / Smoke tests post-deploy (push) Has been skipped
- Replace dtolnay/rust-toolchain with manual rustup (not on forgejo mirror) - Replace docker-compose with docker compose (v2) - Add rsync install before tmt Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
58 lines
1.9 KiB
YAML
58 lines
1.9 KiB
YAML
# Chromatic: visual regression testing for Storybook.
|
|
# Runs on every push/PR that touches the web app.
|
|
# Requires CHROMATIC_PROJECT_TOKEN secret in GitHub repo settings.
|
|
name: Chromatic
|
|
|
|
on:
|
|
push:
|
|
branches: [main, develop]
|
|
paths:
|
|
- "apps/web/**"
|
|
- ".github/workflows/chromatic.yml"
|
|
pull_request:
|
|
paths:
|
|
- "apps/web/**"
|
|
- ".github/workflows/chromatic.yml"
|
|
workflow_dispatch:
|
|
|
|
env:
|
|
GIT_SSL_NO_VERIFY: "true"
|
|
NODE_TLS_REJECT_UNAUTHORIZED: "0"
|
|
|
|
jobs:
|
|
chromatic:
|
|
name: Visual regression tests
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
|
with:
|
|
fetch-depth: 0 # Required for Chromatic to detect changes
|
|
|
|
- name: Set up Node
|
|
uses: actions/setup-node@1d0ff469b7ec7b3cb9d8673fde0c81c44821de2a # v4.2.0
|
|
with:
|
|
node-version: "20"
|
|
cache: "npm"
|
|
|
|
- name: Install dependencies
|
|
run: npm ci
|
|
working-directory: apps/web
|
|
|
|
- name: Run Chromatic
|
|
uses: chromaui/action@latest
|
|
with:
|
|
projectToken: ${{ secrets.CHROMATIC_PROJECT_TOKEN }}
|
|
workingDir: apps/web
|
|
buildScriptName: build-storybook
|
|
exitZeroOnChanges: true # Don't fail PR on visual changes, just flag them
|
|
exitOnceUploaded: true # Speed up CI — don't wait for full processing
|
|
onlyChanged: true # Only snapshot stories affected by changes
|
|
externals: |
|
|
apps/web/src/**/*.css
|
|
apps/web/public/**
|
|
env:
|
|
VITE_API_URL: /api/v1
|
|
VITE_USE_MSW: "true"
|
|
VITE_STORYBOOK: "true"
|