From 04e881ccb20c0c17d9c781a873f2e73d8f7a60a4 Mon Sep 17 00:00:00 2001 From: Claas Augner Date: Mon, 11 Dec 2023 14:03:28 +0100 Subject: [PATCH] chore(workflows): only build en-us --- .github/workflows/prod-build.yml | 11 +---------- .github/workflows/stage-build.yml | 7 +------ 2 files changed, 2 insertions(+), 16 deletions(-) diff --git a/.github/workflows/prod-build.yml b/.github/workflows/prod-build.yml index db2a8f5684e1..594b6a27b0a7 100644 --- a/.github/workflows/prod-build.yml +++ b/.github/workflows/prod-build.yml @@ -259,16 +259,7 @@ jobs: yarn tool sync-translated-content - # Build using one process per locale. - # Note: We have 4 cores, but 9 processes is a reasonable number. - for locale in en-us es fr ja ko pt-br ru zh-cn zh-tw; do - yarn build --locale $locale 2>&1 | sed "s/^/[$locale] /" & - pids+=($!) - done - - for pid in "${pids[@]}"; do - wait $pid - done + yarn build --locale en-us du -sh client/build diff --git a/.github/workflows/stage-build.yml b/.github/workflows/stage-build.yml index de99b025d34e..72b6dbabde22 100644 --- a/.github/workflows/stage-build.yml +++ b/.github/workflows/stage-build.yml @@ -252,12 +252,7 @@ jobs: yarn tool sync-translated-content - # Build using one process per locale. - # Note: We have 4 cores, but 9 processes is a reasonable number. - for locale in en-us es fr ja ko pt-br ru zh-cn zh-tw; do - yarn build --locale $locale 2>&1 | sed "s/^/[$locale] /" & - pids+=($!) - done + yarn build --locale en-us for pid in "${pids[@]}"; do wait $pid