Skip to content

Fixes

Fixes #428

Workflow file for this run

name: 'Chromatic'
on: push
jobs:
chromatic:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0 # 👈 Required to retrieve git history
- uses: actions/setup-node@v3
with:
node-version: 18
- name: Install dependencies
run: npm ci --unsafe-perm
- name: Build Storybook
run: npm run storybook:build
- name: Publish to Chromatic
run: npx chromatic --project-token=$CHROMATIC_PROJECT_TOKEN
env:
projectToken: ${{ secrets.CHROMATIC_PROJECT_TOKEN }}