Skip to content

Chromatic

Chromatic #1877

Workflow file for this run

name: Chromatic
on:
pull_request_review_comment:
types: [created, edited]
jobs:
chromatic-build:
if: ${{ contains(github.event.comment.body, 'chromatic-build') }}
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Install dependencies
run: npm ci
working-directory: ./packages/vlossom
- name: Publish to Chromatic
uses: chromaui/action@latest
with:
projectToken: ${{ secrets.CHROMATIC_PROJECT_TOKEN }}
autoAcceptChanges: main
workingDir: ./packages/vlossom
buildScriptName: build-storybook:chromatic