From 01e992e48f1b0be7a4ebcc208aa3bec0702c3f9f Mon Sep 17 00:00:00 2001 From: premsgr77 Date: Tue, 19 May 2026 21:17:44 +0545 Subject: [PATCH] fix(ci): correct pnpm setup order in shipjs-trigger workflow Run pnpm/action-setup before setup-node so the pnpm cache works, and install dependencies in an explicit step instead of run_install. --- .github/workflows/shipjs-trigger.yml | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/.github/workflows/shipjs-trigger.yml b/.github/workflows/shipjs-trigger.yml index 12aa716..8e944f9 100644 --- a/.github/workflows/shipjs-trigger.yml +++ b/.github/workflows/shipjs-trigger.yml @@ -14,18 +14,16 @@ jobs: with: fetch-depth: 0 ref: main + - name: Setup pnpm + uses: pnpm/action-setup@v4 - name: Setup node 24 uses: actions/setup-node@v4 with: node-version: 24 registry-url: "https://registry.npmjs.org" cache: "pnpm" - - name: Setup pnpm and install dependencies - uses: pnpm/action-setup@v4 - with: - run_install: | - - recursive: true - args: [--frozen-lockfile, --strict-peer-dependencies] + - name: Install dependencies + run: pnpm install --frozen-lockfile --strict-peer-dependencies - run: | git config --global user.email "github-actions[bot]@users.noreply.github.com" git config --global user.name "github-actions[bot]"