feat(cli): update template with deploy nodejs version to 22 (#531)
This commit is contained in:
parent
4f5d37df6e
commit
414e4fb433
@ -29,7 +29,7 @@ jobs:
|
||||
uses: actions/setup-node@v4
|
||||
with:
|
||||
# 选择要使用的 node 版本
|
||||
node-version: 20
|
||||
node-version: 22
|
||||
|
||||
{{#if (equal packageManager "npm")}}
|
||||
# 安装依赖
|
||||
|
||||
@ -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"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user