Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 20
node-version: 24
cache: 'pnpm'

- name: Install dependencies
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,14 +85,15 @@ jobs:
with:
version: 10.30.1

# 注意:npm@latest(12.x)要求 Node >= 22.22.2,Node 20 无法安装,故升级到 Node 24
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 20
node-version: 24
registry-url: 'https://registry.npmjs.org'
cache: 'pnpm'

# Trusted Publishing 需要 npm CLI >= 11.5.1(Node 20 自带的 npm 版本过低)
# Trusted Publishing 需要 npm CLI >= 11.5.1
- name: Upgrade npm CLI for Trusted Publishing
run: npm install -g npm@latest

Expand Down
Loading