From 5b6d6aaa91d3c21bf096c1b1112b858bdd1d6e4f Mon Sep 17 00:00:00 2001 From: Tunglies <77394545+Tunglies@users.noreply.github.com> Date: Sun, 17 Aug 2025 13:11:12 +0800 Subject: [PATCH] refactor: streamline pnpm installation in CI configuration --- .github/workflows/dev.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/dev.yml b/.github/workflows/dev.yml index 7f1d4192..519eb7d6 100644 --- a/.github/workflows/dev.yml +++ b/.github/workflows/dev.yml @@ -68,6 +68,12 @@ jobs: cache-all-crates: true shared-key: autobuild-shared + - uses: pnpm/action-setup@v4 + name: Install pnpm + if: github.event.inputs[matrix.input] == 'true' + with: + run_install: false + - name: Install Node if: github.event.inputs[matrix.input] == 'true' uses: actions/setup-node@v4 @@ -75,12 +81,6 @@ jobs: node-version: "20" cache: "pnpm" - - uses: pnpm/action-setup@v4 - name: Install pnpm - if: github.event.inputs[matrix.input] == 'true' - with: - run_install: false - - name: Pnpm install and check if: github.event.inputs[matrix.input] == 'true' run: |