Skip to content

Commit

Permalink
chore: Publish chromatic using cli instead of action
Browse files Browse the repository at this point in the history
  • Loading branch information
AtelyPham committed Sep 24, 2024
1 parent bf06271 commit 890fc98
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions .github/workflows/ui-review.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,12 +41,5 @@ jobs:
- name: Build Storybook
run: yarn nx build-storybook webb-ui-components

# 👇 Adds Chromatic as a step in the workflow
- name: Publish to Chromatic
uses: chromaui/[email protected]
# Chromatic GitHub Action options
with:
# 👇 Chromatic projectToken, refer to the manage page to obtain it.
projectToken: ${{ secrets.CHROMATIC_PROJECT_TOKEN }}
exitZeroOnChanges: true # 👈 Option to prevent the workflow from failing
storybookBuildDir: 'dist/storybook/webb-ui-components'
run: npx --no-install chromatic --project-token ${{ secrets.CHROMATIC_PROJECT_TOKEN }} --storybook-build-dir dist/storybook/webb-ui-components --exitZeroOnChanges

0 comments on commit 890fc98

Please sign in to comment.