Skip to content

Commit 6716e42

Browse files
edramclaude
andcommitted
fix(ci): release 工作流升级到 Node 22
[email protected] 要求 engines node ^22.18.0 || >=24。CI 此前用 Node 20, tsdown 加载 tsdown.config.ts 时回退到可选依赖 unrun(未安装)而报错 "Failed to import module 'unrun'"。升级到 Node 22.x 后 tsdown 原生 导入 TS 配置,无需 unrun。本地 v22.22 一直正常即此原因。 Co-Authored-By: Claude Opus 4.8 <[email protected]>
1 parent 4af8d0e commit 6716e42

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,10 @@ jobs:
1818
- name: Setup pnpm
1919
uses: pnpm/action-setup@v4
2020

21-
- name: Setup Node.js 20.x
21+
- name: Setup Node.js 22.x
2222
uses: actions/setup-node@v4
2323
with:
24-
node-version: 20.x
24+
node-version: 22.x
2525

2626
- name: Install Dependencies
2727
run: pnpm i

0 commit comments

Comments
 (0)