From 889c92bae1d79f0a2e40bfe65ac0e43f7bbaa084 Mon Sep 17 00:00:00 2001 From: lapineige Date: Sat, 30 Dec 2023 08:49:46 +0100 Subject: [PATCH] use ynh_npm + spacing --- scripts/upgrade | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/upgrade b/scripts/upgrade index dbffe47..df70a64 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -340,9 +340,9 @@ 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 ynh_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 corepack prepare yarn@stable --activate ynh_exec_as $app $ynh_node_load_PATH yarn install --pure-lockfile ynh_exec_warn_less ynh_exec_as $app RAILS_ENV=production $ynh_ruby_load_path $ld_preload bin/bundle exec rails assets:clean ynh_exec_warn_less ynh_exec_as $app RAILS_ENV=production $ynh_ruby_load_path $ld_preload bin/bundle exec rails assets:precompile