Skip to content

Commit

Permalink
ci: tweak
Browse files Browse the repository at this point in the history
  • Loading branch information
acid-chicken committed Apr 6, 2023
1 parent d724e20 commit 72f5282
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/storybook.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ jobs:
build:
runs-on: ubuntu-latest

env:
NODE_OPTIONS: "--max_old_space_size=7168"

steps:
- uses: actions/[email protected]
with:
Expand All @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 72f5282

Please sign in to comment.