Skip to content

ci: modernize release pipeline + bump to 0.1.5 - #2

Merged
jtnkminimal merged 2 commits into
mainfrom
chore/trusted-publishing
May 25, 2026
Merged

ci: modernize release pipeline + bump to 0.1.5#2
jtnkminimal merged 2 commits into
mainfrom
chore/trusted-publishing

Conversation

@jtnkminimal

Copy link
Copy Markdown
Owner

Summary

  • Bumps actions/checkout and actions/setup-node from v4 to v5 across all workflows. v4 runs Node.js 20 which GitHub deprecates June 2, 2026.
  • Switches npm publish from NPM_TOKEN to trusted publishing (OIDC). Trusted publisher is already configured on npmjs.com for @bobbin/cli pointing at this repo + release.yml.
  • Adds --provenance so published artifacts carry a verifiable build attestation.
  • Bumps version 0.1.40.1.5 (skips 0.1.4 because that tag was burned by the failed publish attempt).

Why one PR

Merging in isolation would either leave a stale NPM_TOKEN reference (token PR before action bumps) or break tag releases (action bumps before token PR has been validated). Bundled, the next tag push exercises both end-to-end.

Test plan

  • Local build + smoke test (node dist/cli.js --version0.1.5)
  • CI green on this PR (smoketest job)
  • After merge, push tag v0.1.5 → release job publishes to npm via OIDC, no secret involved
  • npm view @bobbin/cli version returns 0.1.5
  • npm view @bobbin/cli shows provenance: signed

🤖 Generated with Claude Code

Jake King and others added 2 commits May 25, 2026 10:19
Drops the NPM_TOKEN secret in favor of npm's trusted publisher flow,
which authenticates the runner via GitHub Actions OIDC. Adds
id-token: write to the release job, upgrades npm to a version that
supports trusted publishing, and enables --provenance so published
artifacts carry a verifiable build attestation.

Requires a one-time trusted publisher config on npmjs.com for
@bobbin/cli pointing at jtnkminimal/bobbin-cli + release.yml.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@jtnkminimal
jtnkminimal merged commit 4e38b8f into main May 25, 2026
2 of 5 checks passed
@jtnkminimal
jtnkminimal deleted the chore/trusted-publishing branch May 25, 2026 17:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant