Skip to content

chore: Change main configuration for Storybook #32

chore: Change main configuration for Storybook

chore: Change main configuration for Storybook #32

Workflow file for this run

# Workflow name
name: Chromatic
# Event for the workflow
on:
push:
branches:
- master
paths:
- 'packages/components/**'
workflow_dispatch:
# List of jobs
jobs:
chromatic-deployment:
# Operating System
runs-on: ubuntu-latest
# Job steps
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Install dependencies
run: yarn
# 👇 Adds Chromatic as a step in the workflow
- name: Publish to Chromatic
run: |
cd packages/components
yarn chromatic
env:
CHROMATIC_PROJECT_TOKEN: ${{ secrets.CHROMATIC_PROJECT_TOKEN }}