Skip to content

chore(release): use Node 24 instead of upgrading npm at runtime#43

Open
sdserranog wants to merge 1 commit into
mainfrom
chore/release-node24
Open

chore(release): use Node 24 instead of upgrading npm at runtime#43
sdserranog wants to merge 1 commit into
mainfrom
chore/release-node24

Conversation

@sdserranog

Copy link
Copy Markdown
Contributor

Follow-up cleanup to #41.

Node 24 bundles npm ≥ 11.5.1, which supports OIDC trusted publishing natively. So instead of installing npm at runtime (npm install -g npm@latest, restored in #41), we just pin node-version: 24 and let the bundled npm handle the OIDC exchange. Simpler and a little faster — no global npm reinstall on every release.

Behavior is unchanged; this only removes the workaround now that the Node version provides a new-enough npm.

Node 24 bundles npm >= 11.5.1, which supports OIDC trusted publishing
natively, so the explicit 'npm install -g npm@latest' step is no longer
needed. Simpler and faster.
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