Skip to content

🤖 feat: add URL parameter to status_set tool #811

🤖 feat: add URL parameter to status_set tool

🤖 feat: add URL parameter to status_set tool #811

Workflow file for this run

name: Chromatic
on:
push:
branches:
- main
pull_request:
branches: ["**"]
jobs:
chromatic:
name: Visual Regression Testing
runs-on: ${{ github.repository_owner == 'coder' && 'depot-ubuntu-22.04-8' || 'ubuntu-latest' }}
# Skip for forked PRs since they don't have access to secrets
if: github.event.pull_request.head.repo.full_name == github.repository || github.event_name == 'push'
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
fetch-depth: 0 # Required for Chromatic to track changes
- uses: ./.github/actions/setup-cmux
- name: Generate version file
run: ./scripts/generate-version.sh
- name: Mock version for stable visual testing
run: cp .storybook/mocks/version.ts src/version.ts
- name: Build Storybook
run: bun x storybook build --stats-json
- name: Run Chromatic
uses: chromaui/action@latest
with:
projectToken: ${{ secrets.CHROMATIC_PROJECT_TOKEN }}
exitZeroOnChanges: true
onlyChanged: true