Skip to content

ci: publish to npm before tagging + bump action runtimes to v5#13

Merged
mciissee merged 2 commits into
mainfrom
chore/harden-release-pipeline
Jul 10, 2026
Merged

ci: publish to npm before tagging + bump action runtimes to v5#13
mciissee merged 2 commits into
mainfrom
chore/harden-release-pipeline

Conversation

@mciissee

Copy link
Copy Markdown
Contributor

Summary

Two hardening changes to the release pipeline.

npm-first release order

publish-npm pushed the release branch, tag and PR before publishing to npm (the release PR body even warned it was only "safe to merge once the npm publish succeeded"). Now the build + publish runs first, and the tag, branch push, GitHub release and PR only run if it succeeds. The current (publish without bumping) path keeps its existing guard.

Node 24 runtimes

Bump actions/checkout and actions/setup-node to v5 to clear the "Node.js 20 is deprecated" runtime warning.

mciissee added 2 commits July 10, 2026 11:48
Reorder publish-npm so the npm publish runs before the git tag, branch
push, GitHub release and PR. If the publish fails, none of those are
created, so nothing ever points at a version that is not on npm. The
'current' (publish without bumping) path keeps its existing guard.

Bump actions/checkout and actions/setup-node to v5 to clear the Node 20
runtime deprecation warning.
setup-node@v5 probes yarn for caching before Corepack is enabled, which fails on the global yarn 1 vs packageManager yarn 4 mismatch. Yarn's own global cache covers caching.
@mciissee
mciissee merged commit e7ab29e into main Jul 10, 2026
3 checks passed
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