Skip to content

Workflow file for this run

name: 'Chromatic'
on: push
jobs:
chromatic:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0 # 👈 Required to retrieve git history
- uses: actions/setup-node@v3
with:
node-version: 18
- name: Install dependencies
run: npm ci --unsafe-perm
- name: Build Storybook
run: npm run storybook:build
- name: Publish to Chromatic
uses: chromaui/action@v1
with:

Check failure on line 21 in .github/workflows/chromatic.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/chromatic.yml

Invalid workflow file

You have an error in your yaml syntax on line 21
projectToken: ${{ secrets.CHROMATIC_PROJECT_TOKEN }}
buildScriptName: storybook:build