Test reducing build memory allocation

This commit is contained in:
Billy Tat
2023-10-10 16:31:04 -07:00
parent f27554c436
commit 6d87bfdf1c
3 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -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:
+1 -1
View File
@@ -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
View File
@@ -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",