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
8 changes: 3 additions & 5 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
runs-on: ubuntu-latest
permissions:
contents: read
id-token: write # required for npm OIDC trusted publishing
id-token: write
steps:
- uses: actions/checkout@v4
- uses: oven-sh/setup-bun@v2
Expand All @@ -23,9 +23,7 @@ jobs:
- run: bun install --frozen-lockfile
- run: bun run test
- run: bun run build
- name: Publish to npm
# bun publish has no OIDC support yet, so publish with npm.
# No token: auth comes from the trusted publisher configured on npm.
- name: Stage release to npm
run: |
npm install -g npm@latest
npm publish --provenance --access public
npm stage publish
Loading