Skip to content

Commit

Permalink
use yari for test
Browse files Browse the repository at this point in the history
  • Loading branch information
fiji-flo committed Dec 4, 2024
1 parent 469b1f6 commit 546ea3f
Showing 1 changed file with 23 additions and 6 deletions.
29 changes: 23 additions & 6 deletions .github/workflows/test-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -203,14 +203,31 @@ jobs:
echo "BLOG_ROOT=$BLOG_ROOT"
# Build the ServiceWorker first
yarn build:sw
yarn build:client
yarn build:ssr
yarn tool build-robots-txt
yarn build:prepare
yarn rari content sync-translated-content
yarn rari git-history
yarn tool sync-translated-content es fr ja ko pt-br ru zh-cn zh-tw
yarn rari build --issues client/build/issues.json --templ-stats
# Build using one process per locale.
# Note: We have 4 cores, but 9 processes is a reasonable number.
for locale in en-us de es fr ja ko pt-br ru zh-cn zh-tw; do
yarn build:docs --locale $locale 2>&1 | sed "s/^/[$locale] /" &
pids+=($!)
done
for pid in "${pids[@]}"; do
wait $pid
done
du -sh client/build
# Build the blog
yarn build:blog
# Build the curriculum
yarn build:curriculum
# Generate sitemap index file
yarn build --sitemap-index
# SSR all pages
yarn render:html
Expand Down

0 comments on commit 546ea3f

Please sign in to comment.