Skip to content

Commit

Permalink
Merge pull request rancher#914 from btat/test-reduced-memory-allocation
Browse files Browse the repository at this point in the history
Test reducing build memory allocation and including memory setting by default
  • Loading branch information
btat authored Oct 11, 2023
2 parents 4616a19 + 6d87bfd commit ddc33c8
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
run: yarn install --frozen-lockfile
- name: Build website
env:
NODE_OPTIONS: "--max_old_space_size=6144"
NODE_OPTIONS: "--max_old_space_size=3096"
run: yarn build --no-minify

# Popular action to deploy to GitHub Pages:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,5 @@ jobs:
run: yarn run remark --quiet --use remark-validate-links --use remark-lint-no-dead-urls ./docs
- name: Test build website
env:
NODE_OPTIONS: "--max_old_space_size=6144"
NODE_OPTIONS: "--max_old_space_size=3096"
run: yarn build --no-minify
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
"private": true,
"scripts": {
"docusaurus": "docusaurus",
"start": "NODE_OPTIONS='--max-old-space-size=3096' docusaurus start",
"build": "docusaurus build",
"start": "docusaurus start",
"build": "NODE_OPTIONS='--max-old-space-size=3096' docusaurus build",
"swizzle": "docusaurus swizzle",
"deploy": "docusaurus deploy",
"clear": "docusaurus clear",
Expand Down

0 comments on commit ddc33c8

Please sign in to comment.