forked from baron/baron-sso
fix userfront e2e build optimization
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user