mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-08-02 09:59:55 +08:00
ci: use 'pull_request' on publish-storybook.yml (#4051)
This commit is contained in:
@@ -4,15 +4,19 @@ env:
|
|||||||
NODE_OPTIONS: --max-old-space-size=4096
|
NODE_OPTIONS: --max-old-space-size=4096
|
||||||
|
|
||||||
on:
|
on:
|
||||||
|
workflow_dispatch:
|
||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- master
|
- master
|
||||||
pull_request_target:
|
pull_request:
|
||||||
branches:
|
branches:
|
||||||
- master
|
- master
|
||||||
paths-ignore:
|
paths-ignore:
|
||||||
- README.md
|
- README.md
|
||||||
- .github/**
|
- .github/**
|
||||||
|
- apps/server
|
||||||
|
- apps/docs
|
||||||
|
- apps/electron
|
||||||
- '!.github/workflows/publish-storybook.yml'
|
- '!.github/workflows/publish-storybook.yml'
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
@@ -34,6 +38,8 @@ jobs:
|
|||||||
run: yarn run build:plugins
|
run: yarn run build:plugins
|
||||||
- uses: chromaui/action-next@v1
|
- uses: chromaui/action-next@v1
|
||||||
with:
|
with:
|
||||||
|
workingDir: apps/storybook
|
||||||
|
buildScriptName: build
|
||||||
exitOnceUploaded: true
|
exitOnceUploaded: true
|
||||||
onlyChanged: false
|
onlyChanged: false
|
||||||
diagnostics: true
|
diagnostics: true
|
||||||
|
|||||||
Reference in New Issue
Block a user