Skip to content

Version Packages (#1048) #497

Version Packages (#1048)

Version Packages (#1048) #497

Workflow file for this run

name: Chromatic
on:
push:
branches:
- main
pull_request:
branches:
- main
paths:
- 'packages/**'
jobs:
chromatic:
name: Storybook Publish
runs-on: ubuntu-latest
steps:
# requires all branches and tags to be fetched for chromatic
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: ./.github/actions/setup
- name: Build
run: pnpm build
- name: Publish to Chromatic
uses: chromaui/action@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
projectToken: ${{ secrets.CHROMATIC_PROJECT_TOKEN }}