feat(cli): update template with deploy nodejs version to 22 (#531)

This commit is contained in:
pengzhanbo 2025-03-22 00:06:25 +08:00 committed by GitHub
parent 4f5d37df6e
commit 414e4fb433
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

@ -29,7 +29,7 @@ jobs:
uses: actions/setup-node@v4
with:
# 选择要使用的 node 版本
node-version: 20
node-version: 22
{{#if (equal packageManager "npm")}}
# 安装依赖

View File

@ -5,5 +5,5 @@ publish = "{{ docsDir }}/.vuepress/dist"
command = "{{#if (equal packageManager 'yarn')}}yarn && yarn{{else}}{{packageManager}} run{{/if}} docs:build"
[build.environment]
NODE_VERSION = "20"
NODE_VERSION = "22"
NPM_FLAGS = "--version"