1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/thelounge_ynh.git synced 2024-09-03 20:35:54 +02:00
This commit is contained in:
Éric Gaspar 2023-07-06 15:04:22 +02:00
parent a005aefbcd
commit 61db155422
3 changed files with 1 additions and 5 deletions

View file

@ -4,7 +4,7 @@
# COMMON VARIABLES
#=================================================
nodejs_version=18
nodejs_version=16
#=================================================
# PERSONAL HELPERS

View file

@ -52,8 +52,6 @@ ynh_script_progression --message="Installing The Lounge..." --weight=10
pushd $install_dir
ynh_use_nodejs
ynh_exec_warn_less corepack enable
ynh_exec_warn_less corepack prepare yarn@stable --activate
ynh_exec_warn_less sudo -u $app env $ynh_node_load_PATH yarn install
ynh_exec_warn_less sudo -u $app env $ynh_node_load_PATH NODE_ENV=production yarn build
popd

View file

@ -65,8 +65,6 @@ if [ "$upgrade_type" == "UPGRADE_APP" ]
then
pushd $install_dir
ynh_use_nodejs
ynh_exec_warn_less corepack enable
ynh_exec_warn_less corepack prepare yarn@stable --activate
ynh_exec_warn_less sudo -u $app env $ynh_node_load_PATH yarn install
ynh_exec_warn_less sudo -u $app env $ynh_node_load_PATH NODE_ENV=production yarn build
popd