Skip to content
Merged
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
9 changes: 7 additions & 2 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,14 @@ jobs:
steps:
- uses: actions/checkout@v7

- uses: actions/setup-node@v4
# v7 targets the Node.js 24 runtime; v4 targeted Node.js 20, which GitHub
# is deprecating (it was being force-run on Node.js 24 with a warning).
# v7 使用 Node.js 24 runtime;v4 面向已弃用的 Node.js 20(会被强制以 Node 24 运行并告警)。
- uses: actions/setup-node@v7
with:
node-version: '20'
# Node.js 20 has reached end of maintenance; 22 is the LTS used to
# build the site. Node.js 20 已结束维护期,改用 LTS 版本 22 构建站点。
node-version: '22'
cache: 'npm'
cache-dependency-path: website/package-lock.json

Expand Down
Loading