From d0477224ed73b225bbfda8b4c508191aba77eec2 Mon Sep 17 00:00:00 2001 From: Wisdom Date: Wed, 14 Aug 2024 11:01:21 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=A7=BA=20feat:=20change=20node=20version?= =?UTF-8?q?=20of=20actions=20(#58)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * 🧺 feat: change node version of actions * feat: update unit test node version --- .github/workflows/deploy.yml | 8 ++++---- .github/workflows/unit-testing.yml | 2 +- README.md | 4 ++-- package.json | 4 ++-- 4 files changed, 9 insertions(+), 9 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/.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 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",