chore(#23): CI 使用 npmmirror 与 npm 缓存提速 #24

Merged
Lijianping merged 1 commit from chore/23-ci-npm-cache-mirror into main 2026-10-19 10:47:33 +08:00
Collaborator

变更摘要

  • npm ci 改为走 registry.npmmirror.com
  • 增加 actions/cache 缓存 ~/.npm(按 package-lock.json)
  • 增加 --no-fund --no-audit,减少无谓耗时与噪声日志
  • 对齐 app 仓已有 CI 做法

自测步骤

  • 打开本 PR 的 Actions,确认 npm ci 不再长时间空白卡住
  • frontend-build 通过
  • (可选)合并后在 #22 上重跑 / 再推一次,验证后续 PR 受益

文档影响

无

Closes #23

## 变更摘要 - `npm ci` 改为走 `registry.npmmirror.com` - 增加 `actions/cache` 缓存 `~/.npm`(按 `package-lock.json`) - 增加 `--no-fund --no-audit`,减少无谓耗时与噪声日志 - 对齐 `app` 仓已有 CI 做法 ## 自测步骤 - [ ] 打开本 PR 的 Actions,确认 `npm ci` 不再长时间空白卡住 - [ ] `frontend-build` 通过 - [ ] (可选)合并后在 #22 上重跑 / 再推一次,验证后续 PR 受益 ## 文档影响 无 Closes #23
chore(#23): CI 使用 npmmirror 与 npm 缓存提速
All checks were successful
CI / frontend-build (pull_request) Successful in 30s
3332127536
Co-authored-by: Cursor <cursoragent@cursor.com>
Lijianping deleted branch chore/23-ci-npm-cache-mirror 2026-10-19 10:47:33 +08:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
jiaoce/xm_txys2_front!24
No description provided.