diff --git a/.github/workflows/publish-npm.yml b/.github/workflows/publish-npm.yml index 6436fccce..29de3a6af 100644 --- a/.github/workflows/publish-npm.yml +++ b/.github/workflows/publish-npm.yml @@ -107,18 +107,18 @@ jobs: # - name: Run tests # run: bun test - - name: Build for publish (Vite) - run: bun run build:vite + - name: Build for publish + run: bun run build - name: Publish to npm if: ${{ github.event.inputs.dry_run != 'true' }} - run: npm publish --provenance --access public --ignore-scripts + run: npm publish --provenance --access public 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 --ignore-scripts + run: npm publish --dry-run --provenance --access public env: NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}