Reduce verbosity of frontend build script

This commit is contained in:
Andrey Antukh 2025-06-02 18:05:11 +02:00
parent 1f652fe364
commit 2b6a91819b

View file

@ -2,11 +2,9 @@
# NOTE: this script should be called from the parent directory to
# properly work.
set -ex
export INCLUDE_STORYBOOK=${BUILD_STORYBOOK:-no};
export INCLUDE_WASM=${BUILD_WASM:-yes};
export CURRENT_VERSION=$1;
export BUILD_DATE=$(date -R);
export CURRENT_HASH=${CURRENT_HASH:-$(git rev-parse --short HEAD)};
@ -17,6 +15,8 @@ export TS=$(date +%s);
# performant code on macros (example: rumext)
export NODE_ENV=production;
set -ex
corepack enable;
corepack install || exit 1;
yarn install || exit 1;