fix: ESlint configuration for typescript #27
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
# 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 }} |