fix(hwlab): use domestic npm registry for node lanes (#825)

Co-authored-by: Codex <codex@noreply.local>
This commit is contained in:
Lyon
2026-06-24 13:25:20 +08:00
committed by GitHub
parent 841f8e7245
commit 297e6d0373
2 changed files with 10 additions and 4 deletions
+2
View File
@@ -4715,6 +4715,8 @@ function yamlDependencyInstallScript(registry: string, fetchTimeoutSeconds: numb
" if [ -n \"$yaml_https_proxy\" ]; then export HTTPS_PROXY=\"$yaml_https_proxy\" https_proxy=\"$yaml_https_proxy\" npm_config_https_proxy=\"$yaml_https_proxy\"; fi",
" if [ -n \"$yaml_all_proxy\" ]; then export ALL_PROXY=\"$yaml_all_proxy\" all_proxy=\"$yaml_all_proxy\"; fi",
" export npm_config_registry=\"$yaml_registry\"",
" export BUN_CONFIG_REGISTRY=\"$yaml_registry\"",
" export npm_config_noproxy=\"${NO_PROXY:-${no_proxy:-}}\"",
" export npm_config_fetch_retries=\"$yaml_fetch_retries\"",
" export npm_config_fetch_retry_mintimeout=2000",
" export npm_config_fetch_retry_maxtimeout=16000",