Added data upload step #2540
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Publish Storybook to Chromatic | |
on: | |
push: | |
branches: | |
- '**' | |
tags-ignore: | |
- v0.* | |
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 packages | |
run: yarn build-packages | |
- name: Run Chromatic | |
uses: chromaui/action@latest | |
with: | |
projectToken: ${{ secrets.CHROMATIC_PUBLISH_TOKEN }} |