Skip to content

There can be more than Notion and Miro. AFFiNE(pronounced [ə‘fain]) is a next-gen knowledge base that brings planning, sorting and creating all together. Privacy first, open-source, customizable and ready to use.

ci: update chromatic build (#4050)

Alex Yange0421526818e
diff --git a/.github/workflows/publish-storybook.yml b/.github/workflows/publish-storybook.yml
index de54b52f25..235d29b183 100644
--- a/.github/workflows/publish-storybook.yml
+++ b/.github/workflows/publish-storybook.yml
@@ -32,12 +32,18 @@ jobs:
electron-install: false
- name: Build Plugins
run: yarn run build:plugins
- - name: Publish to Chromatic
- uses: chromaui/action@v1
+ - uses: chromaui/action-next@v1
with:
- workingDir: apps/storybook
- buildScriptName: build
- projectToken: ${{ secrets.CHROMATIC_PROJECT_TOKEN }}
- zip: true
+ exitOnceUploaded: true
+ onlyChanged: false
+ diagnostics: true
env:
+ CHROMATIC_PROJECT_TOKEN: ${{ secrets.CHROMATIC_PROJECT_TOKEN }}
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