From 72f528295d8a790054a9b2e8b4874f3585c0b00d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Acid=20Chicken=20=28=E7=A1=AB=E9=85=B8=E9=B6=8F=29?= Date: Thu, 6 Apr 2023 21:54:00 +0900 Subject: [PATCH] ci: tweak --- .github/workflows/storybook.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/storybook.yml b/.github/workflows/storybook.yml index 9be7b20dc6..e6273e5473 100644 --- a/.github/workflows/storybook.yml +++ b/.github/workflows/storybook.yml @@ -9,6 +9,9 @@ jobs: build: runs-on: ubuntu-latest + env: + NODE_OPTIONS: "--max_old_space_size=7168" + steps: - uses: actions/checkout@v3.3.0 with: @@ -32,8 +35,6 @@ jobs: run: pnpm --filter misskey-js build - name: Build storybook run: pnpm --filter frontend build-storybook - env: - NODE_OPTIONS: "--max_old_space_size=7168" - name: Publish to Chromatic id: chromatic uses: chromaui/action@v1 @@ -47,9 +48,10 @@ jobs: - "misskey-assets/**" - "packages/frontend/assets/**" - "packages/frontend/public/**" + - "pnpm-lock.yaml" onlyChanged: "!(master)" projectToken: ${{ secrets.CHROMATIC_PROJECT_TOKEN }} - storybookBaseDir: packages/frontend + workingDir: packages/frontend traceChanged: extended - name: Upload Artifacts uses: actions/upload-artifact@v3