1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/sharkey_ynh.git synced 2024-09-03 20:16:32 +02:00

Update install

This commit is contained in:
Mateusz 2024-04-27 21:49:06 +02:00 committed by GitHub
parent ef398273cc
commit e85d52ab3a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -55,8 +55,8 @@ ynh_script_progression --message="Building app..." --weight=15
pushd "$install_dir"
ynh_use_nodejs
corepack enable
corepack prepare pnpm@latest --activate
env $ynh_node_load corepack enable
env $ynh_node_load COREPACK_ENABLE_DOWNLOAD_PROMPT=0 prepare pnpm@latest --activate
ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH pnpm install --frozen-lockfile
ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH NODE_ENV=production pnpm build
ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH pnpm run init