Skip to content

chore: move storybook to root package #14

chore: move storybook to root package

chore: move storybook to root package #14

Workflow file for this run

# .github/workflows/chromatic.yml
name: "Chromatic"
on:
push:
pull_request:
branches: [production]
types: [opened, synchronize, closed]
jobs:
chromatic:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Install dependencies
run: yarn install --immutable
- name: Build tailwind
run: yarn tailwind:build
- name: Run Chromatic
uses: chromaui/action@latest
with:
storybookBaseDir: .
storybookConfigDir: ./.storybook
# ⚠️ Make sure to configure a `CHROMATIC_PROJECT_TOKEN` repository secret
projectToken: ${{ secrets.CHROMATIC_TOKEN }}