Skip to content

Commit

Permalink
ci: chromatic pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
dcodes05 committed Aug 23, 2023
1 parent a6f40f6 commit f9ac50c
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 27 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/chromatic.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: ⚡ Chromatic Check

on: push

jobs:
publish-chromatic:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0

- uses: pnpm/action-setup@v2
with:
version: 8
run_install: true

- name: Build storybook
run: pnpm build-storybook

- name: Publish to Chromatic
uses: chromaui/action@v1
with:
projectToken: ${{ secrets.CHROMATIC_PROJECT_TOKEN }}
storybookBuildDir: 'dist/storybook/shared-storybook'
27 changes: 0 additions & 27 deletions .github/workflows/storybook.yml

This file was deleted.

0 comments on commit f9ac50c

Please sign in to comment.