Skip to content

Commit f438e28

Browse files
committed
fix: Increase the nodejs memory to fix docs build
1 parent 98df4d6 commit f438e28

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

.github/workflows/docs.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,3 +36,5 @@ jobs:
3636
- name: Build
3737
shell: bash
3838
run: pnpm nx run docs:build
39+
env:
40+
NODE_OPTIONS: "--max-old-space-size=4096"

packages/internal/docs/project.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
"color": true,
2020
"commands": [
2121
"nx run backend:build-docs",
22-
"NODE_OPTIONS=\"--max-old-space-size=2048\" TYPEDOC_WATCH=false docusaurus build"
22+
"NODE_OPTIONS=\"--max-old-space-size=4096\" TYPEDOC_WATCH=false docusaurus build"
2323
],
2424
"parallel": false
2525
}

0 commit comments

Comments
 (0)