docs: 记录修复CI构建Node版本严格匹配任务清单
Some checks are pending
Build and Release / Build Release Package (tar.gz, amd64, linux) (push) Waiting to run
Build and Release / Build Release Package (tar.gz, arm64, linux) (push) Waiting to run
Build and Release / Build Release Package (zip, amd64, windows) (push) Waiting to run

This commit is contained in:
xuans 2026-10-18 15:57:04 +08:00
parent 0ab3246c62
commit b13cebbfcf

View File

@ -3701,3 +3701,10 @@ P0-05 从 `[!]` 调整为 `[~]`,并未标记完成;P0-04 剩余门禁和全
- [✓] 创建 Gitea 工作流:创建 .gitea/workflows/release.yaml,兼容 Gitea Actions 语法与 runner 规范。
- [✓] 执行单元测试与构建复核,全量 357 项测试全绿通过,工具链与跨平台打包脚本无误。
- [✓] 打上版本标签 v1.52.1 并双重推送到 git.pcux.cn 与 github.com。
## 2026年10月18日 修复 GitHub/Gitea CI 构建中 Node.js 版本漂移导致 EBADDEVENGINES
- [~] 需求确认:GitHub/Gitea Actions CI 运行 node-version: 24 时默认解析安装了最新版 Node.js v24.21.0,与 package.json 中 devEngines 严格锁定的 24.19.0 不匹配,触发 npm EBADDEVENGINES 致命错误中断构建。需将工作流中 Node.js 版本精准固定为 24.19.0。
- [ ] 修改 .github/workflows/release.yml 与 .gitea/workflows/release.yaml:将 node-version 由 24 改为精准匹配的 24.19.0。
- [ ] 运行本地单元测试(357 pass, 0 fail)验证工具链完整性。
- [ ] 提交修改并打标签更新推送到 git.pcux.cn 与 github.com。