1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/glitchsoc_ynh.git synced 2024-09-03 19:15:59 +02:00

install corepack

This commit is contained in:
Tagada 2023-12-26 17:13:19 +01:00
parent de91e6bec1
commit f24ae0d3db
2 changed files with 2 additions and 0 deletions

View file

@ -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

View file

@ -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