更新 Node.js 版本至 22

This commit is contained in:
lyswhut
2025-03-20 13:49:37 +08:00
parent f786a29b70
commit 08887cd6ed
4 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -7,7 +7,7 @@ runs:
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '20'
node-version: '22'
# - name: Get npm cache directory
# run: node -p -e '`NPM_CACHE_DIR=${require("child_process").execSync("npm config get cache").toString()}`' >> $GITHUB_ENV
+1 -1
View File
@@ -16,7 +16,7 @@ jobs:
- name: Install Node.js
uses: actions/setup-node@v4
with:
node-version: 20
node-version: 22
- name: Install Dependencies
run: npm ci