Skip to content

Commit 7195b12

Browse files
committed
force prod build with 8gb heap memory
1 parent 33f93aa commit 7195b12

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

.github/workflows/build-prod.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ jobs:
1313
ALGOLIA_APPLICATION_ID: ${{ secrets.ALGOLIA_APPLICATION_ID }}
1414
ALGOLIA_INDEX_NAME: ${{ secrets.ALGOLIA_INDEX_NAME }}
1515
ALGOLIA_SEARCH_API_KEY: ${{ secrets.ALGOLIA_SEARCH_API_KEY }}
16+
NODE_OPTIONS: --max_old_space_size=8192
1617
permissions:
1718
contents: read
1819
deployments: write

import/build.cjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// build-wrapper.cjs
22
const { spawn } = require('child_process');
33

4-
const nodeOptions = '--max_old_space_size=4096';
4+
const nodeOptions = '--max_old_space_size=8192';
55

66
const args = ['build', 'docs'];
77

0 commit comments

Comments
 (0)