From bf90e9cd4ea47b401d2e0a3125d55632271db08d Mon Sep 17 00:00:00 2001 From: Cayman Date: Tue, 17 Mar 2026 17:31:10 -0400 Subject: [PATCH] fix: correct release workflow publish issues MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Fix typo: `release_created` → `releases_created` on pnpm setup step - Add missing conditional to `corepack enable` step - Add `registry-url` to setup-node for OIDC npm trusted publishing Co-Authored-By: Claude Opus 4.6 (1M context) --- .github/workflows/release.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 33cdda0e..e340d9c6 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -30,14 +30,16 @@ jobs: if: ${{ steps.release.outputs.releases_created }} - uses: pnpm/action-setup@v4 - if: ${{ steps.release.outputs.release_created }} + if: ${{ steps.release.outputs.releases_created }} - run: corepack enable - + if: ${{ steps.release.outputs.releases_created }} + - uses: actions/setup-node@v6 with: cache: 'pnpm' node-version: 20 + registry-url: 'https://registry.npmjs.org' if: ${{ steps.release.outputs.releases_created }} - run: pnpm install --frozen-lockfile