1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/kresus_ynh.git synced 2024-09-03 19:36:10 +02:00

Fix yarn install not using production parameter

This commit is contained in:
Nicolas Frandeboeuf 2024-02-02 08:09:19 +00:00
parent b0ec8cc632
commit 772a09cfe7

View file

@ -88,7 +88,7 @@ ynh_script_progression --message="Installing $app..." --weight=1
pushd $install_dir
ynh_use_nodejs
ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH yarn config set network-timeout 300000
ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH yarn install
ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH yarn install --production
ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH yarn cache clean --all
ynh_secure_remove --file="$install_dir/.cache"
ynh_secure_remove --file="$install_dir/.yarn"