Skip to content

Commit

Permalink
chore: update node version to 20
Browse files Browse the repository at this point in the history
  • Loading branch information
Mister-Hope committed Jan 26, 2024
1 parent e0060b7 commit 9653134
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/docs.yml
Expand Up @@ -12,7 +12,7 @@ jobs:

env:
DOCS_GA_ID: G-CTB8FQ7VMW
NODE_VERSION: '18'
NODE_VERSION: '20'

steps:
- uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion docs/.vuepress/configs/meta.ts
Expand Up @@ -4,5 +4,5 @@ import { fs } from 'vuepress/utils'
const require = createRequire(import.meta.url)

export const version = fs.readJsonSync(
require.resolve('vuepress/core/package.json'),
require.resolve('vuepress/package.json'),
).version
2 changes: 1 addition & 1 deletion docs/guide/deployment.md
Expand Up @@ -61,7 +61,7 @@ jobs:
uses: actions/setup-node@v4
with:
# choose node.js version to use
node-version: 18
node-version: 20
# cache deps for pnpm
cache: pnpm

Expand Down
2 changes: 1 addition & 1 deletion docs/zh/guide/deployment.md
Expand Up @@ -61,7 +61,7 @@ jobs:
uses: actions/setup-node@v4
with:
# 选择要使用的 node 版本
node-version: 18
node-version: 20
# 缓存 pnpm 依赖
cache: pnpm

Expand Down

0 comments on commit 9653134

Please sign in to comment.