ci: changesets release pipeline with provenance publishing - #3
Merged
Merged
Conversation
- CI workflow: Node 22+24 matrix running the full prepublishOnly gate (lint, format:check, typecheck, build, test:coverage) with inline test annotations and the native coverage bot comment via upload-code-coverage - Release workflow: changesets/action opens the Version Packages PR (bump + CHANGELOG + src/version.ts sync via scripts/sync-version.mjs), then publishes with npm provenance via OIDC trusted publishing, tags vX.Y.Z and creates the GitHub release from the CHANGELOG section - changesets config (public access, changelog-github, baseBranch main) - first changeset: openai SDK dependency removal (minor -> 0.1.0)
Merged
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.
Installs the full release cycle:
CI (
.github/workflows/ci.yml)prepublishOnlygate verbatim: lint → format:check → typecheck → build → test:coverageactions/upload-code-coverage, gated to the Node 22 job)Release (
.github/workflows/release.yml)changesets/action: pending changesets → opens the Version Packages PR (version bump +CHANGELOG.md+src/version.tssync viascripts/sync-version.mjs)scripts/release.mjsbuilds and publishes with npm provenance via OIDC trusted publishing (no stored token), thenscripts/github-release.mjstagsvX.Y.Zand creates the GitHub release with the changelog section as its bodyAlso
changelog-github,baseBranch: main)Before merging the Version Packages PR (not this one):
expilu/smart-decisions/release.ymlmainwith required CI checks (optional now, do it after seeing green)All gates verified locally (lint/format/typecheck/build/coverage 100%) + dress rehearsal of the version step in a disposable clone.