From c87daa7198a8d9c4f92f4b9e2711007ba46018c8 Mon Sep 17 00:00:00 2001 From: lapineige Date: Wed, 27 Dec 2023 18:56:49 +0100 Subject: [PATCH] Raise timeout duration for Yarn (during upgrade) --- scripts/upgrade | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/upgrade b/scripts/upgrade index 86deeeb..b178b49 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -225,6 +225,7 @@ ynh_script_progression --message="Building Yarn dependencies..." pushd "$final_path" ynh_use_nodejs + ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH yarn config set network-timeout 300000 ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH yarn install --production --pure-lockfile ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH yarn cache clean popd