Skip to content

Commit

Permalink
fix chromatic issue
Browse files Browse the repository at this point in the history
  • Loading branch information
karambarakat committed Oct 28, 2023
2 parents e3351f7 + 1f22b91 commit 7ddee94
Show file tree
Hide file tree
Showing 6 changed files with 153 additions and 84 deletions.
29 changes: 15 additions & 14 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,20 +48,21 @@ jobs:
# run: ./ci/test-e2e.sh
# shell: bash

# chromatic:
# runs-on: ubuntu-latest
# steps:
# - name: 📥 Checkout
# uses: actions/checkout@v2
chromatic:
runs-on: ubuntu-latest
steps:
- name: 📥 Checkout
uses: actions/checkout@v2

# - name: 📥 Install dependencies
# uses: ./.github/actions/pnpm
- name: 📥 Install dependencies
uses: ./.github/actions/pnpm

# - run: turbo --filter ui build
- run: turbo --filter ui build

# - name: chromatic
# uses: chromaui/action@v1
# with:
# projectToken: ${{ secrets.CHROMATIC_PROJECT_TOKEN }}
# token: ${{ secrets.GITHUB_TOKEN }}
# storybookBuildDir: ./pkgs/ui/storybook-static
- name: chromatic
uses: chromaui/action@v1
with:
projectToken: ${{ secrets.CHROMATIC_PROJECT_TOKEN }}
token: ${{ secrets.GITHUB_TOKEN }}
storybookBuildDir: ./pkgs/ui/storybook-static
skip: true
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@ export default {
return <Story />
},
],
parameters: {
chromatic: { disableSnapshot: true },
query: {},
},
} satisfies SB.Meta<typeof c.CategoryIconSVG>

export const SvgDefault = {
Expand Down
Loading

0 comments on commit 7ddee94

Please sign in to comment.