fix(ci): GOPROXY 与 npm 镜像源修复两条流水线的依赖下载失败
Build and Publish Commercial Web / build (push) Failing after 3m18s
Build and Publish Server / build (push) Successful in 9m33s

server-deploy 在 Install dependencies 失败、web-deploy 在 Install pnpm
失败——亚洲 runner 直连 proxy.golang.org / registry.npmjs.org 不稳定。
Go 侧加 goproxy.cn 优先回落官方源;pnpm 安装与前端依赖安装走
registry.npmmirror.com。

Generated with [Devin](https://devin.ai)

Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
This commit is contained in:
gouki
2026-10-21 08:34:04 +00:00
co-authored by Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
parent 69b8907711
commit 7c7880bbd8
2 changed files with 12 additions and 2 deletions
+2
View File
@@ -60,6 +60,8 @@ jobs:
working-directory: server
run: |
export HOME="$RUNNER_WORKSPACE"
# 国内 runner 优先 goproxy.cn,海外 runner 自动回落官方源
export GOPROXY="https://goproxy.cn,https://proxy.golang.org,direct"
"$LUNAR_GO" mod download
- name: Run tests