From 6f7f62ceca6c1fb936fa49a1d21123d422101193 Mon Sep 17 00:00:00 2001 From: David Taylor Date: Wed, 7 Aug 2024 14:13:50 +0100 Subject: [PATCH] Increase `yarn` network-timeout from 30s to 60s (#820) A number of people have reported hitting yarn timeouts on low-spec DO droplets, which causes the build to fail. This should provide a little more leeway --- templates/web.template.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/templates/web.template.yml b/templates/web.template.yml index 1ba0a96..6e6b210 100644 --- a/templates/web.template.yml +++ b/templates/web.template.yml @@ -185,6 +185,7 @@ run: if [ "$version" != "tests-passed" ]; then rm -rf app/assets/javascripts/node_modules fi + - su discourse -c 'yarn config set network-timeout 60000 -g' - su discourse -c 'yarn install --frozen-lockfile && yarn cache clean' - exec: -- 2.25.1