fix(ci): 精确锁定工作流Node.js版本为24.19.0以通过严格devEngines校验
Some checks are pending
Some checks are pending
This commit is contained in:
parent
b13cebbfcf
commit
94e31983bf
@ -36,7 +36,7 @@ jobs:
|
||||
- name: Setup Node.js
|
||||
uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: 24
|
||||
node-version: 24.19.0
|
||||
|
||||
- name: Setup Go
|
||||
uses: actions/setup-go@v5
|
||||
|
||||
2
.github/workflows/release.yml
vendored
2
.github/workflows/release.yml
vendored
@ -36,7 +36,7 @@ jobs:
|
||||
- name: Setup Node.js
|
||||
uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: 24
|
||||
node-version: 24.19.0
|
||||
|
||||
- name: Setup Go
|
||||
uses: actions/setup-go@v5
|
||||
|
||||
@ -3704,7 +3704,7 @@ P0-05 从 `[!]` 调整为 `[~]`,并未标记完成;P0-04 剩余门禁和全
|
||||
|
||||
## 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。
|
||||
- [✓] 需求确认: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)验证工具链完整性。
|
||||
- [✓] 提交修改并更新 v1.52.1 标签推送到 git.pcux.cn 与 github.com。
|
||||
|
||||
Loading…
Reference in New Issue
Block a user