1
0
forked from baron/baron-sso

fix userfront e2e build optimization

This commit is contained in:
2026-05-21 18:23:47 +09:00
parent dbb5ad93b8
commit 7c809fb478
2 changed files with 5 additions and 1 deletions

View File

@@ -393,6 +393,10 @@ jobs:
flutter build web --wasm --release 2>&1 | tee ../reports/userfront-e2e-build.log
build_exit_code=${PIPESTATUS[0]}
cd ..
if [ "$build_exit_code" -eq 0 ]; then
node userfront/scripts/optimize-web-build.mjs userfront/build/web 2>&1 | tee -a reports/userfront-e2e-build.log
build_exit_code=${PIPESTATUS[0]}
fi
set -e
if [ "$build_exit_code" -ne 0 ]; then