fix: upgrade node to 22
All checks were successful
自动构建并部署Astro博客 / build-and-deploy (push) Successful in 42s
All checks were successful
自动构建并部署Astro博客 / build-and-deploy (push) Successful in 42s
This commit is contained in:
@@ -19,8 +19,9 @@ jobs:
|
||||
- name: 安装Node.js
|
||||
uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: 20
|
||||
cache: 'npm'
|
||||
node-version: 22
|
||||
env:
|
||||
NODEJS_ORG_MIRROR: https://npmmirror.com/mirrors/node
|
||||
|
||||
# 3. 安装依赖 + 打包Astro项目(生成dist目录)
|
||||
- name: 安装依赖并构建
|
||||
|
||||
Reference in New Issue
Block a user