summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAcid Chicken (硫酸鶏) <root@acid-chicken.com>2023-04-03 13:50:22 +0900
committerAcid Chicken (硫酸鶏) <root@acid-chicken.com>2023-04-03 13:50:22 +0900
commit2acb655c0f488cfb26e296f01f482145f2af0dc7 (patch)
treece9428f89a766801a4487b0e45b6e45898a01b90
parentMerge branch 'develop' of https://github.com/misskey-dev/misskey into storybook (diff)
downloadmisskey-2acb655c0f488cfb26e296f01f482145f2af0dc7.tar.gz
misskey-2acb655c0f488cfb26e296f01f482145f2af0dc7.tar.bz2
misskey-2acb655c0f488cfb26e296f01f482145f2af0dc7.zip
ci(#10336): use `exitOnceUploaded`
-rw-r--r--.github/workflows/storybook.yml3
1 files changed, 2 insertions, 1 deletions
diff --git a/.github/workflows/storybook.yml b/.github/workflows/storybook.yml
index 94d8287f91..9796ac1362 100644
--- a/.github/workflows/storybook.yml
+++ b/.github/workflows/storybook.yml
@@ -40,11 +40,12 @@ jobs:
id: chromatic
uses: chromaui/action@v1
with:
+ exitOnceUploaded: true
projectToken: ${{ secrets.CHROMATIC_PROJECT_TOKEN }}
storybookBuildDir: storybook-static
workingDir: packages/frontend
- name: Compare on Chromatic
- if: github.event_name == 'pull_request_target'
+ if: github.event_name == 'pull_request'
run: pnpm --filter frontend chromatic --exit-once-uploaded --patch-build ${{ github.head_ref }}...${{ github.base_ref }}
env:
CHROMATIC_PROJECT_TOKEN: ${{ secrets.CHROMATIC_PROJECT_TOKEN }}