Skip to content

chore: cleaned up imports and refactors #68

chore: cleaned up imports and refactors

chore: cleaned up imports and refactors #68

Workflow file for this run

# Workflow name
name: 'Chromatic Deployment'
# Event for the workflow
on:
push:
branches: [main]
pull_request:
branches: [main]
# List of jobs
jobs:
chromatic-deployment:
# Operating System
runs-on: ubuntu-latest
# Job steps
steps:
- uses: actions/checkout@v1
- run: yarn
#👇 Adds Chromatic as a step in the workflow
- name: Publish to Chromatic
uses: chromaui/action@v1
# Options required for Chromatic's GitHub Action
with:
#👇 Chromatic projectToken, see https://storybook.js.org/tutorials/intro-to-storybook/react/en/deploy/ to obtain it
projectToken: ${{ secrets.CHROMATIC_PROJECT_TOKEN }}