Skip to content

housekeeping

housekeeping #1954

Workflow file for this run

name: Chromatic
on:
pull_request:
types: [opened, synchronize]
paths:
- ".github/workflows/chromatic.yml"
- "config/tailwindcss/**"
- "packages/ui/**"
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
submodules: 'recursive'
fetch-depth: 0
- name: Install dependencies
uses: ./.github/actions/install
- name: Build storybook
run: pnpm exec turbo run build --filter=@sushiswap/storybook^...
- name: Publish to Chromatic
uses: chromaui/action@v1
with:
projectToken: ${{ secrets.CHROMATIC_PROJECT_TOKEN }}
workingDir: apps/storybook
buildScriptName: build
exitOnceUploaded: true