ci: 优化ci配置
All checks were successful
CI / build (push) Successful in 2m54s

This commit is contained in:
2026-04-05 18:44:01 +08:00
parent 948a022b77
commit ba188ff2d8
2 changed files with 1 additions and 1 deletions

View File

@@ -27,7 +27,6 @@ jobs:
# 使用 Job 镜像node:22-bookworm自带的 Node不再使用 actions/setup-node避免重复下载 Node
- name: Setup Yarn
run: |
npm config set registry https://registry.npmmirror.com
corepack enable
corepack prepare yarn@1.22.22 --activate
echo "node -v: $(node -v)"

1
.npmrc Normal file
View File

@@ -0,0 +1 @@
registry=https://registry.npmmirror.com