test-bun-changesets
v0.0.5
Published
An ESM package bootstrapped with Bun and automated releases via Changesets.
Readme
test-bun-changesets
ESM package initialized with Bun + Changesets + GitHub Actions release automation.
Local development
Install dependencies:
bun installType check + build:
bun run check
bun run buildCreate a changeset for your PR:
bun run changesetRelease flow
- PRs to
mainrun CI and require a changeset viachangeset status. - A single workflow (
.github/workflows/release.yml) runs on pushes tomain. changesets/actionin that workflow handles both:- create/update the version PR when unreleased changesets exist
- publish to npm + create GitHub releases after the version PR is merged
npm publishing with OIDC
Configure npm trusted publishing for this repository/workflow so npm uses GitHub OIDC tokens.
- Workflow already requests
id-token: write. - Workflow publishes without
NPM_TOKENby default.
Note: this repository is private, so npm provenance must stay disabled. npm provenance from GitHub Actions currently requires a public source repository.
If you prefer token-based publishing instead of OIDC, add:
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}