Skip to content

The agent that grows with you

perf(ci): build only en locale in docs-site-checks

kshitij52920747e17d
diff --git a/.github/workflows/docs-site-checks.yml b/.github/workflows/docs-site-checks.yml
index cf775f89e03..1e82698218e 100644
--- a/.github/workflows/docs-site-checks.yml
+++ b/.github/workflows/docs-site-checks.yml
@@ -49,5 +49,8 @@ jobs:
working-directory: website
- name: Build Docusaurus
- run: npm run build
+ # Build only the default (en) locale in CI — the full bilingual
+ # build runs in deploy-site.yml on push-to-main / release.
+ # Same pattern Docusaurus uses internally (build:fast --locale en).
+ run: npm run build:fast
working-directory: website
diff --git a/website/package.json b/website/package.json
index e3b84778350..1e6d8b1340d 100644
--- a/website/package.json
+++ b/website/package.json
@@ -8,6 +8,7 @@
"start": "docusaurus start",
"prebuild": "node scripts/prebuild.mjs",
"build": "docusaurus build",
+ "build:fast": "docusaurus build --locale en",
"swizzle": "docusaurus swizzle",
"deploy": "docusaurus deploy",
"clear": "docusaurus clear",