# This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node # For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions name: Release on: push: tags: - "v*" jobs: build: runs-on: ubuntu-latest permissions: id-token: write # Required for OIDC (used for npm publish with Trusted publishing) packages: write contents: write steps: - uses: actions/checkout@v4 - uses: oven-sh/setup-bun@v2 - run: bun install --frozen-lockfile - run: bun run typecheck - run: bun test - run: bun run build - name: Publish run: | bun publish --access public --registry https://registry.npmjs.org