adds back chromatic workflow

This commit is contained in:
hobbes7878 2025-04-19 18:05:01 +01:00
parent 5b02f9bda4
commit ea4883caa7
Failed to extract signature

30
.github/workflows/chromatic.yaml vendored Normal file
View file

@ -0,0 +1,30 @@
name: 'Chromatic'
on:
pull_request:
branches:
- main
jobs:
chromatic:
name: Run Chromatic
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup pnpm
uses: pnpm/action-setup@v4
- name: Setup node
uses: actions/setup-node@v4
with:
node-version: 22.12.0
cache: pnpm
- name: Install dependencies
run: pnpm i
- name: Run Chromatic
uses: chromaui/action@latest
with:
projectToken: ${{ secrets.CHROMATIC_PROJECT_TOKEN }}
# exitZeroOnChanges: false