ci(#10336): reuse built storybook

This commit is contained in:
Acid Chicken (硫酸鶏) 2023-04-03 13:58:20 +09:00
parent 2acb655c0f
commit b3b64d8525
No known key found for this signature in database
GPG Key ID: 3E87B98A3F6BAB99
1 changed files with 1 additions and 1 deletions

View File

@ -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