refactor: streamline pnpm installation in CI configuration

This commit is contained in:
Tunglies
2025-08-17 13:11:12 +08:00
Unverified
parent 7bb584b925
commit 5b6d6aaa91

View File

@@ -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: |