diff --git a/.github/workflows/publish-npm.yml b/.github/workflows/publish-npm.yml index b135983b4..6436fccce 100644 --- a/.github/workflows/publish-npm.yml +++ b/.github/workflows/publish-npm.yml @@ -88,7 +88,7 @@ jobs: - name: Setup Bun uses: oven-sh/setup-bun@0c5077e51419868618aeaa5fe8019c62421857d6 # v2, 2026-04-25 with: - bun-version: latest + bun-version: "1.3.11" - name: Setup SSH for review agent generation uses: webfactory/ssh-agent@v0.9.0 @@ -107,15 +107,18 @@ jobs: # - name: Run tests # run: bun test + - name: Build for publish (Vite) + run: bun run build:vite + - name: Publish to npm if: ${{ github.event.inputs.dry_run != 'true' }} - run: npm publish --provenance --access public + run: npm publish --provenance --access public --ignore-scripts env: NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} - name: Publish to npm (dry-run) if: ${{ github.event.inputs.dry_run == 'true' }} - run: npm publish --dry-run --provenance --access public + run: npm publish --dry-run --provenance --access public --ignore-scripts env: NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}