mirror of
https://github.com/rancher/rancher-docs.git
synced 2026-09-26 04:58:07 +00:00
Test reducing build memory allocation
This commit is contained in:
@@ -22,7 +22,7 @@ jobs:
|
|||||||
run: yarn install --frozen-lockfile
|
run: yarn install --frozen-lockfile
|
||||||
- name: Build website
|
- name: Build website
|
||||||
env:
|
env:
|
||||||
NODE_OPTIONS: "--max_old_space_size=6144"
|
NODE_OPTIONS: "--max_old_space_size=3096"
|
||||||
run: yarn build --no-minify
|
run: yarn build --no-minify
|
||||||
|
|
||||||
# Popular action to deploy to GitHub Pages:
|
# Popular action to deploy to GitHub Pages:
|
||||||
|
|||||||
@@ -22,5 +22,5 @@ jobs:
|
|||||||
run: yarn run remark --quiet --use remark-validate-links --use remark-lint-no-dead-urls ./docs
|
run: yarn run remark --quiet --use remark-validate-links --use remark-lint-no-dead-urls ./docs
|
||||||
- name: Test build website
|
- name: Test build website
|
||||||
env:
|
env:
|
||||||
NODE_OPTIONS: "--max_old_space_size=6144"
|
NODE_OPTIONS: "--max_old_space_size=3096"
|
||||||
run: yarn build --no-minify
|
run: yarn build --no-minify
|
||||||
+2
-2
@@ -4,8 +4,8 @@
|
|||||||
"private": true,
|
"private": true,
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"docusaurus": "docusaurus",
|
"docusaurus": "docusaurus",
|
||||||
"start": "NODE_OPTIONS='--max-old-space-size=3096' docusaurus start",
|
"start": "docusaurus start",
|
||||||
"build": "docusaurus build",
|
"build": "NODE_OPTIONS='--max-old-space-size=3096' docusaurus build",
|
||||||
"swizzle": "docusaurus swizzle",
|
"swizzle": "docusaurus swizzle",
|
||||||
"deploy": "docusaurus deploy",
|
"deploy": "docusaurus deploy",
|
||||||
"clear": "docusaurus clear",
|
"clear": "docusaurus clear",
|
||||||
|
|||||||
Reference in New Issue
Block a user