File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1717 with :
1818 persist-credentials : false
1919
20+ - uses : actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.0.0
21+ with :
22+ node-version : " 24"
23+ package-manager-cache : false
24+
25+ - name : Enable pnpm
26+ run : |
27+ corepack enable
28+ corepack prepare pnpm@8.15.9 --activate
29+
2030 - name : Run base CI checks
2131 run : ./scripts/ci.sh
2232
Original file line number Diff line number Diff line change 1+ ## [ 2026-05-09 11:18] | Task: 修复 GitHub CI pnpm 环境
2+
3+ ### Execution Context
4+
5+ - ** Agent ID** : ` Codex `
6+ - ** Base Model** : ` GPT-5 `
7+ - ** Runtime** : ` Codex CLI `
8+
9+ ### User Query
10+
11+ > 发布前后要验证,保持 GitHub CI 可用。
12+
13+ ### Changes Overview
14+
15+ ** Scope:** GitHub Actions CI.
16+
17+ ** Key Actions:**
18+
19+ - ** CI setup** : 在 ` ci.yml ` 中加入 pinned ` actions/setup-node ` ,并通过 corepack
20+ 激活仓库声明的 ` pnpm@8.15.9 ` 。
21+
22+ ### Design Intent (Why)
23+
24+ ` scripts/ci.sh ` 已经把 JS workspace 测试纳入基础 CI;GitHub runner 默认没有
25+ pnpm,因此 workflow 需要显式准备 Node/pnpm 环境,避免远端 CI 与本地验证不一致。
26+
27+ ### Files Modified
28+
29+ - ` .github/workflows/ci.yml `
You can’t perform that action at this time.
0 commit comments