Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 7 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ on:

permissions:
contents: write
id-token: write
pull-requests: write

concurrency: ${{ github.workflow }}-${{ github.ref }}
Expand All @@ -30,12 +31,16 @@ jobs:
uses: oven-sh/setup-bun@v2
with:
bun-version: latest

- name: Setup Node for npm trusted publishing
uses: actions/setup-node@v6
with:
node-version: '24'
package-manager-cache: false
registry-url: 'https://registry.npmjs.org'

- name: Install Dependencies
run: bun install --frozen-lockfile
env:
BUN_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

- name: Create Release Pull Request or Publish to npm
id: changesets
Expand All @@ -45,4 +50,3 @@ jobs:
publish: bun changeset publish
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
Loading