Repository navigation
ci: release @e2b/pi over npm trusted publishing - #2
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
@changesets/cli2.31.1, same asclaude-toolsetsandE2B);package.jsongetspublishConfig.access: public, aversionscript (changeset version+ lockfile refresh) and areleasescript (changeset publish, deliberately not namedpublish)release.yml: dispatch-only, refuses any ref butmain, green no-op without a pending changeset, runsnpm run check, then publishes in thedeploymentenvironment over OIDC (no npm token) and pushes the version bump with thee2b-version-bumperapp0.1.1as the first attested releaseAlready in place outside the repo:
@e2b/pi@0.1.0published by hand, npm trusted publisher (release.yml+deployment),deploymentenvironment limited tomain, version bumper installed and on themainbypass list.Test plan
npm run checkandactionlintcleannpm run versiondry run in a scratch copy:0.1.1inpackage.jsonand lockfile,CHANGELOG.mdwrittengh workflow run release.yml --ref main, thennpm view @e2b/pishows0.1.1with attestations