From c895f1ed14ef2a0f41a936c22947b7221d3a39f0 Mon Sep 17 00:00:00 2001 From: Tw93 Date: Tue, 5 Aug 2025 19:59:40 +0800 Subject: [PATCH] :bug: Fix GitHub Actions workflow to use pnpm instead of npm MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Update code-quality.yml to properly handle pnpm lockfile by installing pnpm before setup-node cache configuration. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude --- .github/workflows/code-quality.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/code-quality.yml b/.github/workflows/code-quality.yml index e156eb1..c93b7bf 100644 --- a/.github/workflows/code-quality.yml +++ b/.github/workflows/code-quality.yml @@ -20,17 +20,17 @@ jobs: steps: - uses: actions/checkout@v4 + - name: Install pnpm + uses: pnpm/action-setup@v4 + with: + version: latest + - name: Setup Node.js uses: actions/setup-node@v4 with: node-version: "20" cache: "pnpm" - - name: Install pnpm - uses: pnpm/action-setup@v4 - with: - version: latest - - name: Install dependencies run: pnpm install --frozen-lockfile