From efdbd7b0bb0881bd42baa74e51badd4e61ba2e9d Mon Sep 17 00:00:00 2001 From: Wisdom Date: Wed, 14 Aug 2024 10:52:48 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=F0=9F=A7=BA=20feat:=20change=20node=20vers?= =?UTF-8?q?ion=20of=20actions?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/deploy.yml | 8 ++++---- README.md | 4 ++-- package.json | 4 ++-- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 3bdea28..fe6ca9a 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -16,14 +16,14 @@ jobs: runs-on: ubuntu-latest if: github.event.workflow_run.conclusion == 'success' steps: - - uses: actions/checkout@v3 - - uses: actions/setup-node@v3 + - uses: actions/checkout@v4 + - uses: actions/setup-node@v4 with: - node-version: 16.15.x + node-version: 18.12.x - uses: pnpm/action-setup@v3 with: - version: 8 + version: 9 - name: Install dependencies run: pnpm install diff --git a/README.md b/README.md index 13709cd..2f78893 100644 --- a/README.md +++ b/README.md @@ -55,8 +55,8 @@ ## 前置条件 * Vue 3.4+ -* Node >= 16.15.x -* Pnpm 8.x +* Node >= 18.12.x +* Pnpm 9.x * **VS Code 插件 `dbaeumer.vscode-eslint` >= v3.0.5 (pre-release)** diff --git a/package.json b/package.json index f5b883e..2e0e8d9 100644 --- a/package.json +++ b/package.json @@ -19,8 +19,8 @@ "prepare": "husky" }, "engines": { - "node": ">= 16.15.x", - "pnpm": ">= 8.14.x" + "node": ">=18.12.0", + "pnpm": ">= 9.x" }, "keywords": [ "vue", From 2d86653a83b437661122e3d45c10b5811d89510a Mon Sep 17 00:00:00 2001 From: Wisdom Date: Wed, 14 Aug 2024 10:55:47 +0800 Subject: [PATCH 2/2] feat: update unit test node version --- .github/workflows/unit-testing.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/unit-testing.yml b/.github/workflows/unit-testing.yml index 8bd55eb..63814f2 100644 --- a/.github/workflows/unit-testing.yml +++ b/.github/workflows/unit-testing.yml @@ -13,7 +13,7 @@ jobs: - uses: actions/checkout@v3 - uses: pnpm/action-setup@v3 with: - version: 8.x + version: 9 - name: Install dependencies run: pnpm i