Skip to content

Commit

Permalink
add max memory for Docusaurus site build CI
Browse files Browse the repository at this point in the history
  • Loading branch information
slorber committed Oct 17, 2024
1 parent 8764537 commit 97b0608
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions .github/workflows/tests-e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ jobs:
env:
# Our website should build even with limited memory
# See https://github.com/facebook/docusaurus/pull/10590
NODE_OPTIONS: '--max-old-space-size=200'
NODE_OPTIONS: '--max-old-space-size=250'
DOCUSAURUS_PERF_LOGGER: 'true'
working-directory: ../test-website

Expand Down Expand Up @@ -137,7 +137,7 @@ jobs:
env:
# Our website should build even with limited memory
# See https://github.com/facebook/docusaurus/pull/10590
NODE_OPTIONS: '--max-old-space-size=200'
NODE_OPTIONS: '--max-old-space-size=250'
DOCUSAURUS_PERF_LOGGER: 'true'
working-directory: ../test-website

Expand Down Expand Up @@ -169,6 +169,11 @@ jobs:
E2E_TEST: true
- name: Build test-website project
run: npm run build
env:
# Our website should build even with limited memory
# See https://github.com/facebook/docusaurus/pull/10590
NODE_OPTIONS: '--max-old-space-size=250'
DOCUSAURUS_PERF_LOGGER: 'true'
working-directory: ../test-website

pnpm:
Expand Down Expand Up @@ -202,4 +207,9 @@ jobs:
E2E_TEST: true
- name: Build test-website project
run: pnpm run build
env:
# Our website should build even with limited memory
# See https://github.com/facebook/docusaurus/pull/10590
NODE_OPTIONS: '--max-old-space-size=250'
DOCUSAURUS_PERF_LOGGER: 'true'
working-directory: ../test-website

0 comments on commit 97b0608

Please sign in to comment.