Repository navigation
ci(release): consume shared pnpm-release-management toolchain - #52
Merged
Merged
Conversation
Replace this repo's local release tooling with thin callers of the shared
reusable workflows from systemfsoftware/pnpm-release-management, pinned at
@prm/toolchain with tools-ref: prm/toolchain. The toolchain derives the
release phase from repository state and reads the new release.jsonc
(pnpm versioning, turbo build gate, base main, branch changeset-release/main).
Delete scripts/{plan-release,tag-released-packages,create-github-releases,
check-changeset,open-release-pr,lib/cycle,lib/run} and scripts/deno.{json,lock}.
npm publishing is gone as a consequence: the shared workflow has no npm token,
no OIDC, and no registry. Distribution is this repo's Nix flake outputs
consumed from a git ref. Rewrite the publishing docs and drop the npm install
path and version badge in favour of the Nix-flake-from-git path
The shared changeset gate flags the publishable package as touched by this CI/tooling change; record a none intent so the gate passes without a version bump — a script-only, release-nothing touch is the canonical none class
The shared changeset-check and plan jobs run the gate without installing this repo's deps, so a turbo gate fails on a missing turbo pin. Switch the gate strategy to paths (pure git change evidence, no turbo needed). Drop the none intent: a paths gate does not mark the package touched for a root-only tooling change, so no intent is owed. Also commit the dprint-formatted release.jsonc (trailing commas) that the prior commit missed
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.
Unify release tooling: consume the shared pnpm-release-management toolchain
Drops this repo's local release tooling and npm-registry publishing in favour of
the shared toolchain (
systemfsoftware/pnpm-release-management), consumed as areusable workflow. Distribution is this repository's Nix flake outputs consumed
from a git ref (pinned by
flake.lockrev + narHash); the release path writes a<pkg>@vX.Y.Zgit tag and a GitHub Release per unreleased version — no npmtoken, no OIDC, no registry.
What changed
.github/workflows/release.yml— now a thin caller ofsystemfsoftware/pnpm-release-management/.github/workflows/release.yml@prm/toolchainwith
tools-ref: prm/toolchain..github/workflows/changeset-check.yml— thin caller of the sharedchangeset-check.yml@prm/toolchain.release.jsonc(new) — config the shared tooling reads:pnpmversioning,turbobuild gate, basemain, branchchangeset-release/main.scripts/{plan-release,tag-released-packages,create-github-releases,check-changeset,open-release-pr,lib/cycle,lib/run}.tsandscripts/deno.{json,lock}— the shared toolchain owns all of it now.README.md,.changeset/README.md, and the release post-mortem rewritten to the Nix-flake + git-tag-release model; npm install path and version badge dropped.Kept
changesets, GitHub Releases,
publishConfig(incl. inertprovenance), Nixflakes, and
force-release.ymlThe pinned toolchain revision is
prm/toolchain(tip2730f21260b8b9b604cb6dcef3871bd750efe554)Need help on this PR? Tag
@codesmith-botwith what you need. Autofix is disabled.