From 4833bef470fee565f37ab7bd4ca0e0fd44e2dda6 Mon Sep 17 00:00:00 2001 From: neverland Date: Tue, 9 Sep 2025 10:50:31 +0800 Subject: [PATCH] ci(workflows): add pnpm setup --- .github/workflows/release.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 932f4d9..ca2993f 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -21,6 +21,9 @@ jobs: - name: Checkout uses: actions/checkout@v5 + - name: Setup pnpm + uses: pnpm/action-setup@v2 + - name: Setup Node.js uses: actions/setup-node@v5 with: @@ -28,12 +31,10 @@ jobs: # Update npm to the latest version to enable OIDC # Use corepack to install pnpm - - name: Setup Package Managers + - name: Update npm CLI run: | npm install -g npm@latest npm --version - npm install -g corepack@latest --force - corepack enable - name: Install Dependencies run: pnpm install