From 60ec575cd6c0c6fed1acecf3e1ac18430ae7c77c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miguel=20=C3=81ngel?= Date: Wed, 25 Mar 2026 13:30:40 -0400 Subject: [PATCH] fix(ci): remove pnpm from publish workflow, use bun + npm - Remove pnpm/action-setup (no pnpm-lock.yaml exists after bun migration) - Remove cache: pnpm from setup-node (caused "lockfile not found" error) - Use bun for install/build, npm for publish (npm comes with node) - Pass NODE_AUTH_TOKEN per publish step --- .github/workflows/publish.yml | 23 +++++++++++++++-------- 1 file changed, 15 insertions(+), 8 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 7e121dbf43..3b6db0a3fa 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -17,9 +17,6 @@ jobs: steps: - uses: actions/checkout@v4 - uses: oven-sh/setup-bun@v2 - - uses: pnpm/action-setup@v4 - with: - version: 10 - uses: actions/setup-node@v4 with: node-version: 24 @@ -28,19 +25,29 @@ jobs: - run: bun run build - name: Publish @hyperframes/core - run: pnpm --filter @hyperframes/core publish --access public --provenance --no-git-checks + run: npm --workspace packages/core publish --access public --provenance --no-git-checks + env: + NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} - name: Publish @hyperframes/engine - run: pnpm --filter @hyperframes/engine publish --access public --provenance --no-git-checks + run: npm --workspace packages/engine publish --access public --provenance --no-git-checks + env: + NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} - name: Publish @hyperframes/producer - run: pnpm --filter @hyperframes/producer publish --access public --provenance --no-git-checks + run: npm --workspace packages/producer publish --access public --provenance --no-git-checks + env: + NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} - name: Publish @hyperframes/studio - run: pnpm --filter @hyperframes/studio publish --access public --provenance --no-git-checks + run: npm --workspace packages/studio publish --access public --provenance --no-git-checks + env: + NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} - name: Publish hyperframes (CLI) - run: pnpm --filter hyperframes publish --access public --provenance --no-git-checks + run: npm --workspace packages/cli publish --access public --provenance --no-git-checks + env: + NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} - name: Create GitHub Release env: