Skip to content

Commit

Permalink
chore(docs): update docs chromatic setup with build local deps
Browse files Browse the repository at this point in the history
  • Loading branch information
realdreamer committed Aug 23, 2023
1 parent c5034e2 commit 511c938
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions .github/workflows/docs-chromatic.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,19 @@ jobs:

- name: Rush install (install-run-rush)
run: |
node common/scripts/install-run-rush.js install -t @kadena/react-ui
node common/scripts/install-run-rush.js install -t @kadena/react-components
node common/scripts/install-run-rush.js install -t @kadena/docs
- name: Rush Build (internal dependencies)
run: |
node common/scripts/install-run-rush.js build -t @kadena/react-ui
node common/scripts/install-run-rush.js build -t @kadena/react-components
- name: Publish Storybook
uses: chromaui/action@v1
with:
# 👇 Chromatic projectToken, refer to the manage page to obtain it.
exitOnceUploaded: true
buildScriptName: 'build:storybook'
projectToken: ${{ secrets.REACT_UI_CHROMATIC_TOKEN }}
projectToken: ${{ secrets.DOCS_CHROMATIC_TOKEN }}
workingDir: /packages/apps/docs
autoAcceptChanges: 'main'

0 comments on commit 511c938

Please sign in to comment.