Skip to content

Commit

Permalink
chore(workflows): only build en-us
Browse files Browse the repository at this point in the history
  • Loading branch information
caugner committed Dec 11, 2023
1 parent ff28247 commit 04e881c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 16 deletions.
11 changes: 1 addition & 10 deletions .github/workflows/prod-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
7 changes: 1 addition & 6 deletions .github/workflows/stage-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 04e881c

Please sign in to comment.