Update Node.js version in deploy workflow

修改 node.js 版本,构建的时候要求 22,之前是 20 会导致创建 workers 失败
This commit is contained in:
azerl7
2026-05-14 17:44:14 +08:00
committed by BeilunYang
parent 20be2b5b36
commit faf68d0836

View File

@@ -29,7 +29,7 @@ jobs:
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '20'
node-version: '22'
cache: 'pnpm'
- name: Install Dependencies
@@ -56,4 +56,4 @@ jobs:
- name: Post deployment cleanup
run: |
rm -f .env*.*
rm -f wrangler*.json
rm -f wrangler*.json