Skip to content

ci: actions v7; docs: trusted publisher valid, 0.0.0-stage placeholder - #2

Merged
gabemule merged 5 commits into
mainfrom
chore/release-housekeeping
Oct 19, 2026
Merged

gabemule merged 5 commits into
mainfrom
chore/release-housekeeping

Conversation

@gabemule

Copy link
Copy Markdown
Contributor

What

  • actions/checkout and actions/setup-node from v4 to v7 in ci.yml and publish.yml, removing the "Node.js 20 is deprecated" warning seen in the v0.1.1-beta.0 run. Inputs used here (node-version, registry-url) are unchanged; setup-node v7 dropping the dummy NODE_AUTH_TOKEN does not affect Trusted Publishing, which uses no token.
  • RELEASING.md: the trusted publisher is marked valid (first workflow publish, 0.1.1-beta.0), and a note explains the 0.0.0-stage placeholder npm created on the first publish and how to remove it.

Verified

  • actionlint 1.7.12 clean on both workflows; npm run typecheck clean; npm test 150/150.
  • Release notes of setup-node v5–v7 and checkout v5–v7 reviewed for inputs, runner requirements, caching and OIDC.
  • Not verified until the next release: a real OIDC publish with setup-node v7. This PR's own CI run exercises v7 for install, typecheck and tests.

No release needed: workflows and RELEASING.md are not part of the published package.

v4 of both actions runs on Node.js 20, which GitHub Actions flags as deprecated on every run. v5 runs on Node 24 and keeps the inputs used here (node-version, registry-url). setup-node v5's automatic caching only applies with a packageManager field in package.json, which this package does not have, so behavior is unchanged.
Latest majors of both. Inputs used here (node-version, registry-url) are unchanged. setup-node v7 no longer exports a dummy NODE_AUTH_TOKEN; Trusted Publishing does not use it, and npm 11 reads the generated .npmrc with the variable unset. Automatic caching (npm only since v6) still needs a packageManager field, which package.json does not have.
@gabemule
gabemule merged commit a4ddbbd into main Oct 19, 2026
3 checks passed
@gabemule
gabemule deleted the chore/release-housekeeping branch October 19, 2026 23:36
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