.github/workflows: switch storybook verification upload to point to canon instead
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
This commit is contained in:
@@ -49,13 +49,16 @@ jobs:
|
||||
run: yarn install --immutable
|
||||
working-directory: storybook
|
||||
|
||||
# Only for verification, the canon one is what we upload to Chromatic
|
||||
- run: yarn build-storybook
|
||||
|
||||
- run: yarn --cwd packages/canon build-storybook
|
||||
|
||||
- uses: chromaui/action@0efa3230f403b7848d5d65c6ce140b617fb68380 # v11
|
||||
with:
|
||||
token: ${{ secrets.GITHUB_TOKEN }}
|
||||
# projectToken intentionally shared to allow collaborators to run Chromatic on forks
|
||||
# https://www.chromatic.com/docs/custom-ci-provider#run-chromatic-on-external-forks-of-open-source-projects
|
||||
projectToken: chpt_dab72dc0f97d55b
|
||||
workingDir: storybook
|
||||
storybookBuildDir: dist
|
||||
workingDir: packages/canon
|
||||
storybookBuildDir: storybook-static
|
||||
|
||||
Reference in New Issue
Block a user