From e2713030d794ee51d9bc85e669515a9aeb64d46c Mon Sep 17 00:00:00 2001 From: sebastien Date: Tue, 22 Oct 2024 17:15:37 +0200 Subject: [PATCH] Add CI check to prevent localized site memory leaks, see https://github.com/facebook/docusaurus/pull/10599 --- .github/workflows/tests-e2e.yml | 2 +- .github/workflows/tests.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/tests-e2e.yml b/.github/workflows/tests-e2e.yml index c430232a5969..ef9feadcc813 100644 --- a/.github/workflows/tests-e2e.yml +++ b/.github/workflows/tests-e2e.yml @@ -174,7 +174,7 @@ jobs: - name: Build test-website project # We build 2 locales to ensure a localized site doesn't leak memory # See https://github.com/facebook/docusaurus/pull/10599 - run: npm run build --locale en --locale fr + run: npm run build -- --locale en --locale fr env: # Our website should build even with limited memory # See https://github.com/facebook/docusaurus/pull/10590 diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index df5d31438325..0a4d3599521d 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -49,7 +49,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=350' + NODE_OPTIONS: '--max-old-space-size=400' DOCUSAURUS_PERF_LOGGER: 'true' - name: Docusaurus site CSS order run: yarn workspace website test:css-order