Skip to content

Add support for chromatic #1

Add support for chromatic

Add support for chromatic #1

Workflow file for this run

name: "Chromatic"
on: pull_request
jobs:
chromatic:
name: Run Chromatic
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: "21.x"
cache: npm
- run: npm ci
- name: Run Chromatic
uses: chromaui/action@latest
with:
# ⚠️ Make sure to configure a `CHROMATIC_PROJECT_TOKEN` repository secret
projectToken: ${{ secrets.CHROMATIC_PROJECT_TOKEN }}