ci: use 'pull_request' on publish-storybook.yml (#4051)

This commit is contained in:
Alex Yang
2023-08-30 11:09:04 -05:00
committed by GitHub
parent e042152681
commit 7c4e65a5be

View File

@@ -4,15 +4,19 @@ env:
NODE_OPTIONS: --max-old-space-size=4096
on:
workflow_dispatch:
push:
branches:
- master
pull_request_target:
pull_request:
branches:
- master
paths-ignore:
- README.md
- .github/**
- apps/server
- apps/docs
- apps/electron
- '!.github/workflows/publish-storybook.yml'
jobs:
@@ -34,6 +38,8 @@ jobs:
run: yarn run build:plugins
- uses: chromaui/action-next@v1
with:
workingDir: apps/storybook
buildScriptName: build
exitOnceUploaded: true
onlyChanged: false
diagnostics: true