Skip to content

Commit

Permalink
feat(chromatic): build storybook explicitly instead of relying on chr…
Browse files Browse the repository at this point in the history
…omatic
  • Loading branch information
Jin Lee authored and jinlee93 committed Sep 22, 2021
1 parent 770c075 commit 377d96b
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,14 +75,17 @@ jobs:
with:
fetch-depth: 0 # 👈 Required to retrieve git history
- name: Install dependencies
run: pwd && yarn install --immutable
run: yarn install --immutable
# Build Storybook
- name: Build Storybook
run: yarn workspaces foreach run build:storybook
- name: Publish to Chromatic
uses: chromaui/action@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
projectToken: ${{ secrets.CHROMATIC_PROJECT_TOKEN }}
workingDir: ./packages/components
buildScriptName: build:storybook
workingDir: packages/components
storybookBuildDir: storybook-static

# lint:
# runs-on: ubuntu-latest
Expand Down

0 comments on commit 377d96b

Please sign in to comment.