mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-12 04:18:54 +00:00
ci: update chromatic build (#4050)
This commit is contained in:
18
.github/workflows/publish-storybook.yml
vendored
18
.github/workflows/publish-storybook.yml
vendored
@@ -32,12 +32,18 @@ jobs:
|
|||||||
electron-install: false
|
electron-install: false
|
||||||
- name: Build Plugins
|
- name: Build Plugins
|
||||||
run: yarn run build:plugins
|
run: yarn run build:plugins
|
||||||
- name: Publish to Chromatic
|
- uses: chromaui/action-next@v1
|
||||||
uses: chromaui/action@v1
|
|
||||||
with:
|
with:
|
||||||
workingDir: apps/storybook
|
exitOnceUploaded: true
|
||||||
buildScriptName: build
|
onlyChanged: false
|
||||||
projectToken: ${{ secrets.CHROMATIC_PROJECT_TOKEN }}
|
diagnostics: true
|
||||||
zip: true
|
|
||||||
env:
|
env:
|
||||||
|
CHROMATIC_PROJECT_TOKEN: ${{ secrets.CHROMATIC_PROJECT_TOKEN }}
|
||||||
NODE_OPTIONS: ${{ env.NODE_OPTIONS }}
|
NODE_OPTIONS: ${{ env.NODE_OPTIONS }}
|
||||||
|
- uses: actions/upload-artifact@v2
|
||||||
|
if: always()
|
||||||
|
with:
|
||||||
|
name: chromatic-build-artifacts-${{ github.run_id }}
|
||||||
|
path: |
|
||||||
|
chromatic-diagnostics.json
|
||||||
|
**/build-storybook.log
|
||||||
|
|||||||
Reference in New Issue
Block a user