From 4d65d05d439537de3d43f3ec738e7323d61e2111 Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Sat, 30 May 2020 19:04:13 +0200 Subject: [PATCH] add ynh_use_nodejs --- scripts/install | 4 +++- scripts/upgrade | 2 ++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/scripts/install b/scripts/install index f8206d2..d73b3a9 100644 --- a/scripts/install +++ b/scripts/install @@ -136,7 +136,9 @@ ynh_script_progression --message="Building $app... (this will take some time and pushd "$final_path" || ynh_die -yarn install --frozen-lockfile && ynh_exec_warn_less yarn run build + ynh_use_nodejs + + yarn install --frozen-lockfile && ynh_exec_warn_less yarn run build popd || ynh_die diff --git a/scripts/upgrade b/scripts/upgrade index 120b041..af80fa4 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -136,6 +136,8 @@ then pushd "$final_path" + ynh_use_nodejs + yarn install --frozen-lockfile && ynh_exec_warn_less yarn run build popd