Skip to content

Commit cfc8be9

Browse files
t3dotggclaude
andauthored
ci: a stalled Node.js download retries after 2 minutes, not 10 (#26343)
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
1 parent 441a4eb commit cfc8be9

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

‎.github/actions/setup-ci-deps/action.yml‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,9 +47,14 @@ runs:
4747
echo "$HOME/.vite-plus/bin" >> "$GITHUB_PATH"
4848
"$HOME/.vite-plus/bin/vp" env use "${{ steps.vp.outputs.node }}"
4949
50+
# vp gives each Node.js download attempt 10 minutes by default, so one
51+
# stalled stream holds the job that long. It retries 3 times and resumes
52+
# partial bytes, so a shorter limit costs a slow download only a retry.
5053
- name: Setup Vite+
5154
if: steps.vp_cache.outputs.cache-hit != 'true'
5255
uses: voidzero-dev/setup-vp@250f29ce396baf5e8f24498e17c0dfdebabc26eb # v1
56+
env:
57+
VP_DOWNLOAD_TIMEOUT: "120"
5358
with:
5459
node-version-file: package.json
5560
cache: false

0 commit comments

Comments
 (0)