Skip to content
TypeScript

ci: a stalled Node.js download retries after 2 minutes, not 10 (#26343)

Theo Brownecfc8be97d733
diff --git a/.github/actions/setup-ci-deps/action.yml b/.github/actions/setup-ci-deps/action.yml
index afaef17e1c3..e97365e2f3e 100644
--- a/.github/actions/setup-ci-deps/action.yml
+++ b/.github/actions/setup-ci-deps/action.yml
@@ -47,9 +47,14 @@ runs:
echo "$HOME/.vite-plus/bin" >> "$GITHUB_PATH"
"$HOME/.vite-plus/bin/vp" env use "${{ steps.vp.outputs.node }}"
+ # vp gives each Node.js download attempt 10 minutes by default, so one
+ # stalled stream holds the job that long. It retries 3 times and resumes
+ # partial bytes, so a shorter limit costs a slow download only a retry.
- name: Setup Vite+
if: steps.vp_cache.outputs.cache-hit != 'true'
uses: voidzero-dev/setup-vp@250f29ce396baf5e8f24498e17c0dfdebabc26eb # v1
+ env:
+ VP_DOWNLOAD_TIMEOUT: "120"
with:
node-version-file: package.json
cache: false