1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/calckey_ynh.git synced 2024-09-03 18:16:18 +02:00
This commit is contained in:
oufmilo 2023-04-07 20:44:02 +02:00
parent c5d0259c50
commit 064f733466
2 changed files with 2 additions and 1 deletions

View file

@ -6,7 +6,7 @@
# PHP APP SPECIFIC
#=================================================
NODEJS_VERSION="18.15.0"
NODEJS_VERSION="19"
# dependencies used by the app
pkg_dependencies="ffmpeg postgresql build-essential"

View file

@ -70,6 +70,7 @@ pushd "$install_dir"
ynh_use_nodejs
corepack enable
corepack prepare pnpm@latest --activate
npm install -g pnpm
ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH NODE_ENV=production pnpm install
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 NODE_ENV=production pnpm run init