From b576cd2e1b915c8bf2966a52ea68d61f549484a4 Mon Sep 17 00:00:00 2001 From: Haze <709547807@qq.com> Date: Fri, 6 Feb 2026 05:33:40 +0800 Subject: [PATCH] chore(ci, release): update pnpm action to v4 and version to 9 in CI and release workflows - Upgraded pnpm/action-setup from v2 to v4 in both CI and release workflows. - Updated pnpm version from 8 to 9 to ensure compatibility with the latest features and improvements. --- .github/workflows/ci.yml | 16 ++++++++-------- .github/workflows/release.yml | 4 ++-- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6f45c90e8..812910099 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -26,9 +26,9 @@ jobs: node-version: '20' - name: Setup pnpm - uses: pnpm/action-setup@v2 + uses: pnpm/action-setup@v4 with: - version: 8 + version: 9 - name: Install dependencies run: pnpm install --frozen-lockfile @@ -48,9 +48,9 @@ jobs: node-version: '20' - name: Setup pnpm - uses: pnpm/action-setup@v2 + uses: pnpm/action-setup@v4 with: - version: 8 + version: 9 - name: Install dependencies run: pnpm install --frozen-lockfile @@ -70,9 +70,9 @@ jobs: node-version: '20' - name: Setup pnpm - uses: pnpm/action-setup@v2 + uses: pnpm/action-setup@v4 with: - version: 8 + version: 9 - name: Install dependencies run: pnpm install --frozen-lockfile @@ -96,9 +96,9 @@ jobs: node-version: '20' - name: Setup pnpm - uses: pnpm/action-setup@v2 + uses: pnpm/action-setup@v4 with: - version: 8 + version: 9 - name: Get pnpm store directory shell: bash diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 21bed9bdc..2aa4ee7a1 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -42,9 +42,9 @@ jobs: node-version: '20' - name: Setup pnpm - uses: pnpm/action-setup@v2 + uses: pnpm/action-setup@v4 with: - version: 8 + version: 9 - name: Get pnpm store directory shell: bash