Skip to content

Commit 50874aa

Browse files
committed
ci: 更新 CI 测试配置和文档中的 Node.js 版本要求为20.x
1 parent 61eece6 commit 50874aa

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

.github/workflows/core_test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323

2424
strategy:
2525
matrix:
26-
node: [18.x, 20.x]
26+
node: [20.x]
2727
os: [windows-latest, macos-latest]
2828
fail-fast: false
2929

@@ -63,7 +63,7 @@ jobs:
6363
flag-for-plugin: [-p import -p pages -p layouts -p manifest -p filePlatform -p platformModifier -p middleware -p root -m pinia -m unocss -m uniNetwork -m uniUse -m uniPromises]
6464
flag-for-ui: ['', -u uni, -u ano, -u wot, -u nut, -u uv, -u skiyee]
6565

66-
node: [18.x]
66+
node: [20.x]
6767
os: [windows-latest, macos-latest]
6868

6969
runs-on: ${{ matrix.os }}

.github/workflows/info_test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323

2424
strategy:
2525
matrix:
26-
node: [18.x, 20.x]
26+
node: [20.x]
2727
os: [windows-latest, macos-latest]
2828
fail-fast: false
2929

.github/workflows/lint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
- name: Set node
2323
uses: actions/setup-node@v4
2424
with:
25-
node-version: 18.x
25+
node-version: 20.x
2626
cache: pnpm
2727

2828
- name: Setup

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ npx @create-uni/info@latest
111111
- 提交新[`模板`](./src/question/template/)/[`Plugin`](./src/question/plugin/choices.ts)/[`module`](./src/question/module/choices.ts)/[`UI`](./src/question/UI/)
112112

113113
## 🛠️ 开发
114-
- Node.js 版本 18+ 或 20+
114+
- Node.js 版本 20+
115115
- Rust 版本 1.64+
116116
- 必须使用`pnpm`作为包管理工具
117117
- `Clone`此仓库

0 commit comments

Comments
 (0)