Skip to content
This repository has been archived by the owner on Jan 20, 2022. It is now read-only.

Commit

Permalink
Allocate 6gb to chromatic build
Browse files Browse the repository at this point in the history
  • Loading branch information
justinanastos committed Jun 4, 2020
1 parent 9e12c07 commit bad283d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ defaults: &defaults
jobs:
chromatic:
<<: *defaults
resource_class: medium+
steps:
- checkout
- run:
Expand All @@ -23,6 +24,7 @@ jobs:
command: npm run chromatic -- --exit-zero-on-changes --auto-accept-changes=master
environment:
CI: 1
NODE_OPTIONS=--max-old-space-size=6144
- save_cache:
name: Save chromatic cache
key: storybook-cache--{{ .Branch }}--{{ checksum ".circleci/config.yml" }}--{{ epoch }}
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"build:reset": "ts-node --transpile-only build-reset.ts",
"prebundle": "run-p icons illustrations",
"prebuild-storybook": "npm run build",
"build-storybook": "node --max-old-space-size=4096 $(npm bin)/build-storybook --static-dir .storybook/public --quiet",
"build-storybook": "build-storybook --static-dir .storybook/public --quiet",
"build:github-checks": "npx ncc build .github/actions/run-circle-ci-job/index.js -o .github/actions/run-circle-ci-job/dist",
"clean": "run-p clean:*",
"clean:built": "ts-node --transpile-only scripts/cleanBuiltFiles.ts",
Expand Down

0 comments on commit bad283d

Please sign in to comment.