ci(#10336): reuse built storybook
This commit is contained in:
parent
2acb655c0f
commit
b3b64d8525
2
.github/workflows/storybook.yml
vendored
2
.github/workflows/storybook.yml
vendored
@ -46,7 +46,7 @@ jobs:
|
|||||||
workingDir: packages/frontend
|
workingDir: packages/frontend
|
||||||
- name: Compare on Chromatic
|
- name: Compare on Chromatic
|
||||||
if: github.event_name == 'pull_request'
|
if: github.event_name == 'pull_request'
|
||||||
run: pnpm --filter frontend chromatic --exit-once-uploaded --patch-build ${{ github.head_ref }}...${{ github.base_ref }}
|
run: pnpm --filter frontend chromatic -d storybook-static --exit-once-uploaded --patch-build ${{ github.head_ref }}...${{ github.base_ref }}
|
||||||
env:
|
env:
|
||||||
CHROMATIC_PROJECT_TOKEN: ${{ secrets.CHROMATIC_PROJECT_TOKEN }}
|
CHROMATIC_PROJECT_TOKEN: ${{ secrets.CHROMATIC_PROJECT_TOKEN }}
|
||||||
- name: Upload Artifacts
|
- name: Upload Artifacts
|
||||||
|
Loading…
Reference in New Issue
Block a user