chore: CI 跳过 setup-node 以提速 #9

Closed
opened 2026-10-13 16:02:23 +08:00 by Lijianping · 0 comments
Collaborator

目标

去掉 CI 中冗余的 actions/setup-node,使用 Runner 镜像自带 Node 20,缩短流水线时间。目标仓:frontend

范围

  • .forgejo/workflows/ci.yml

不做

  • 不改业务代码
  • 不改 Runner 标签(仍为 ubuntu-latest + node 镜像)

验收

  • CI 不再执行 setup-node
  • checkout 后直接 npm ci / build 或 type-check 成功
  • 总时长明显短于此前(不再出现 setup-node 数分钟)

相关文档

  • deploy/forgejo-runner README(Runner 使用 node 镜像)
## 目标 去掉 CI 中冗余的 actions/setup-node,使用 Runner 镜像自带 Node 20,缩短流水线时间。目标仓:frontend ## 范围 - .forgejo/workflows/ci.yml ## 不做 - 不改业务代码 - 不改 Runner 标签(仍为 ubuntu-latest + node 镜像) ## 验收 - [ ] CI 不再执行 setup-node - [ ] checkout 后直接 npm ci / build 或 type-check 成功 - [ ] 总时长明显短于此前(不再出现 setup-node 数分钟) ## 相关文档 - deploy/forgejo-runner README(Runner 使用 node 镜像)
Sign in to join this conversation.
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#9
No description provided.