Adjust icons, spacing; upgrade SB #45
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: 'Chromatic' | |
on: push | |
jobs: | |
chromatic: | |
name: Run Chromatic | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Enable Corepack | |
run: corepack enable | |
- name: Set up Node | |
uses: actions/setup-node@v4 | |
with: | |
node-version: '20.x' | |
cache: 'yarn' | |
# FIXME: Because the setup-node action is dumb, we have to manually | |
# install the dependencies ourselves. See: https://github.com/actions/setup-node/issues/182 | |
- name: Install dependencies | |
run: yarn install | |
- name: Run Chromatic | |
uses: chromaui/action@latest | |
with: | |
projectToken: ${{ secrets.CHROMATIC_PROJECT_TOKEN }} | |
exitOnceUploaded: true | |
buildScriptName: 'build:storybook' |