name: Publish on: push: branches: - main workflow_dispatch: jobs: publish: runs-on: ubuntu-latest permissions: contents: read id-token: write steps: - uses: actions/checkout@v4 - uses: oven-sh/setup-bun@v2 - name: Setup Node.js uses: actions/setup-node@v4 with: node-version: '22' - name: Setup pnpm uses: pnpm/action-setup@v2 with: version: latest - name: Install dependencies run: pnpm install - name: Build run: pnpm build - name: Publish package run: npx jsr publish