Skip to content

Commit 52853f3

Browse files
xuyushun441-sysos-zhuangclaude
authored
ci(release): run Release job on Node 22 for the hotcrm downstream smoke (#2117)
The downstream backward-compat smoke clones hotcrm@v1.2.0, whose manifest pins engines.node >=22. On the Release job's Node 20 the very first `pnpm install` aborts with ERR_PNPM_UNSUPPORTED_ENGINE, failing the step before any spec compatibility is actually exercised — a false red that blocks every publish. Bump the Release job to Node 22 (matching showcase-smoke.yml). The framework builds/publishes fine on 22 (engines.node >=18). Co-authored-by: Jack Zhuang <277994282+os-zhuang@users.noreply.github.com> Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
1 parent f4b102d commit 52853f3

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

.github/workflows/release.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,10 @@ jobs:
2121
- name: Setup Node.js
2222
uses: actions/setup-node@v6
2323
with:
24-
node-version: '20'
24+
# 22 (not 20 like the other workflows): the downstream hotcrm smoke
25+
# below clones hotcrm@v1.2.0, whose manifest pins engines.node >=22.
26+
# pnpm install aborts with ERR_PNPM_UNSUPPORTED_ENGINE on Node 20.
27+
node-version: '22'
2528

2629
- name: Enable Corepack
2730
run: corepack enable

0 commit comments

Comments
 (0)