Allow download from git+ssh and use node 16

This commit is contained in:
Florent 2022-06-03 11:25:02 +02:00 committed by Florent
parent 99e67c7fe0
commit ac087e9f6f
3 changed files with 3 additions and 3 deletions

View file

@ -7,7 +7,7 @@
# dependencies used by the app # dependencies used by the app
pkg_dependencies="postgresql" pkg_dependencies="postgresql"
# Node version # Node version
NODEJS_VERSION=14 NODEJS_VERSION=16
#================================================= #=================================================
# PERSONAL HELPERS # PERSONAL HELPERS

View file

@ -123,7 +123,7 @@ ynh_script_progression --message="Building Node dependencies..." --weight=30
pushd "$final_path" pushd "$final_path"
ynh_use_nodejs ynh_use_nodejs
ynh_exec_warn_less sudo -u $app env $ynh_node_load_PATH npm install ynh_exec_warn_less sudo -u $app env $ynh_node_load_PATH GIT_SSH_COMMAND='ssh -o StrictHostKeyChecking=accept-new' npm install
popd popd
#================================================= #=================================================

View file

@ -133,7 +133,7 @@ ynh_script_progression --message="Building Node dependencies..." --weight=3
pushd "$final_path" pushd "$final_path"
ynh_use_nodejs ynh_use_nodejs
ynh_exec_warn_less sudo -u $app env $ynh_node_load_PATH npm install ynh_exec_warn_less sudo -u $app env $ynh_node_load_PATH GIT_SSH_COMMAND='ssh -o StrictHostKeyChecking=accept-new' npm install
popd popd
#================================================= #=================================================