From cb38ecda73a23157586732cdfab8d4d1a017c7e1 Mon Sep 17 00:00:00 2001 From: kaisergeX Date: Thu, 29 Aug 2024 16:51:47 +0700 Subject: [PATCH] fix: mismatch `packageManager` version with github action ERR_PNPM_BAD_PM_VERSION --- .github/release.yml | 1 - .github/workflows/ci.yml | 3 ++- package.json | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/release.yml b/.github/release.yml index e466e85..9cbc0c7 100644 --- a/.github/release.yml +++ b/.github/release.yml @@ -18,7 +18,6 @@ jobs: - name: Setup pnpm uses: pnpm/action-setup@v4 with: - version: 9 run_install: false - name: Setup Node.js 20.x diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 018fefc..d1f8846 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,3 +1,5 @@ +name: CI + on: - pull_request @@ -12,7 +14,6 @@ jobs: - uses: pnpm/action-setup@v4 name: Install pnpm with: - version: 9 run_install: false - name: Install Node.js diff --git a/package.json b/package.json index 8d97066..b509888 100644 --- a/package.json +++ b/package.json @@ -23,9 +23,9 @@ "typescript": "^5.4.5", "typescript-eslint": "^8.0.1" }, - "packageManager": "pnpm@8.15.9", + "packageManager": "pnpm@9.9.0", "engines": { "node": ">=18", - "pnpm": ">=8" + "pnpm": ">=9" } }