From b2cc1307769eca244fe6796056b21addfc510579 Mon Sep 17 00:00:00 2001 From: Myles Scolnick Date: Mon, 8 Jun 2026 11:17:47 -0400 Subject: [PATCH] fix(ci): download artifact before pnpm setup in publish job The publish job has no checkout step, so package.json (with the packageManager field) only exists after the artifact download. Running pnpm/action-setup first left it with no pnpm version to read. --- .github/workflows/release.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 2787cfe..6ec0489 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -80,6 +80,11 @@ jobs: id-token: write contents: read steps: + - name: 📥 Download package artifact + uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8 + with: + name: package + - name: ⎔ Setup pnpm uses: pnpm/action-setup@0e279bb959325dab635dd2c09392533439d90093 # v6 @@ -89,11 +94,6 @@ jobs: node-version: 24 registry-url: 'https://registry.npmjs.org' - - name: 📥 Download package artifact - uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8 - with: - name: package - - name: 📦 Publish to NPM run: pnpm publish --no-git-checks --ignore-scripts env: