Skip to content

Commit

Permalink
Add CI check to prevent localized site memory leaks, see #10599
Browse files Browse the repository at this point in the history
  • Loading branch information
slorber committed Oct 22, 2024
1 parent dbdd254 commit ed14d12
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,9 @@ jobs:
- name: Remove Theme Internal Re-export
run: yarn workspace @docusaurus/theme-common removeThemeInternalReexport
- name: Docusaurus Build
run: yarn build:website:fast
# We build 2 locales to ensure a localized site doesn't leak memory
# See https://github.com/facebook/docusaurus/pull/10599
run: yarn build:website:fast --locale en --locale fr
env:
# Our website should build even with limited memory
# See https://github.com/facebook/docusaurus/pull/10590
Expand Down

0 comments on commit ed14d12

Please sign in to comment.