Skip to content

fix: env columns hard to distinguish in compare view #253

fix: env columns hard to distinguish in compare view

fix: env columns hard to distinguish in compare view #253

name: Frontend Chromatic
on:
push:
branches: [main]
paths:
- frontend/web/components/**
- frontend/web/styles/**
- frontend/common/theme/**
- frontend/documentation/**
- frontend/.storybook/**
- .github/workflows/frontend-chromatic.yml
pull_request:
types: [opened, synchronize, reopened, ready_for_review]
paths:
- frontend/**
- .github/workflows/frontend-chromatic.yml
permissions:
contents: read
jobs:
chromatic:
name: Chromatic
runs-on: ubuntu-latest
if: github.event_name == 'push' || github.event.pull_request.draft == false
defaults:
run:
working-directory: frontend
steps:
- uses: actions/checkout@v5
with:
fetch-depth: 0
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version-file: frontend/.nvmrc
cache: npm
cache-dependency-path: frontend/package-lock.json
- name: Install dependencies
run: npm ci
- name: Publish to Chromatic
uses: chromaui/action@v11
with:
workingDir: frontend
projectToken: ${{ secrets.CHROMATIC_PROJECT_TOKEN }}
exitZeroOnChanges: true
exitOnceUploaded: true
onlyChanged: true
autoAcceptChanges: main