From f24ae0d3dbe1bfdf1697b991a65946b28e96ba16 Mon Sep 17 00:00:00 2001 From: Tagada <36127788+Tagadda@users.noreply.github.com> Date: Tue, 26 Dec 2023 17:13:19 +0100 Subject: [PATCH] install corepack --- scripts/install | 1 + scripts/upgrade | 1 + 2 files changed, 2 insertions(+) diff --git a/scripts/install b/scripts/install index fa76613..f995e6a 100644 --- a/scripts/install +++ b/scripts/install @@ -227,6 +227,7 @@ pushd "$final_path/live" ynh_exec_as $app $ynh_ruby_load_path $ld_preload bin/bundle config without 'development test' ynh_exec_as $app $ynh_ruby_load_path $ld_preload bin/bundle install -j$(getconf _NPROCESSORS_ONLN) ynh_use_nodejs + ynh_exec_warn_less ynh_exec_as $app $ynh_node_load_PATH npm i corepack ynh_exec_warn_less ynh_exec_as $app $ynh_node_load_PATH corepack enable ynh_exec_warn_less ynh_exec_as $app $ynh_node_load_PATH corepack prepare yarn@stable --activate ynh_exec_warn_less ynh_exec_as $app $ynh_node_load_PATH yarn install --pure-lockfile diff --git a/scripts/upgrade b/scripts/upgrade index ac5093d..dbffe47 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -340,6 +340,7 @@ then ynh_exec_as $app $ynh_ruby_load_path $ld_preload bin/bundle config without 'development test' ynh_exec_as $app $ynh_ruby_load_path $ld_preload bin/bundle install -j$(getconf _NPROCESSORS_ONLN) ynh_use_nodejs + ynh_exec_warn_less ynh_exec_as $app $ynh_node_load_PATH npm i corepack ynh_exec_warn_less ynh_exec_as $app $ynh_node_load_PATH corepack enable ynh_exec_warn_less ynh_exec_as $app $ynh_node_load_PATH corepack prepare yarn@stable --activate ynh_exec_as $app $ynh_node_load_PATH yarn install --pure-lockfile