eric_G 10 месяцев назад
Родитель
Сommit
c13ea7e1ce
1 измененных файлов с 1 добавлено и 0 удалено
  1. 1 0
      scripts/install

+ 1 - 0
scripts/install

@@ -44,6 +44,7 @@ ynh_config_add --template=".env" --destination="$install_dir/.env"
 ynh_script_progression "Building the app..."
 ynh_script_progression "Building the app..."
 
 
 pushd $install_dir
 pushd $install_dir
+	ynh_hide_warnings corepack enable && corepack prepare pnpm@latest --activate
 	ynh_hide_warnings ynh_exec_as_app yarn install
 	ynh_hide_warnings ynh_exec_as_app yarn install
 	ynh_hide_warnings ynh_exec_as_app NODE_ENV=production yarn build
 	ynh_hide_warnings ynh_exec_as_app NODE_ENV=production yarn build
 	ynh_hide_warnings ynh_exec_as_app yarn db:migrate
 	ynh_hide_warnings ynh_exec_as_app yarn db:migrate