Skip to content

chore: RID-12099 - prepare for npm v12: drop always-auth via setup-node v6 - #24

Merged
amit-schreiber-transmit merged 1 commit into
mainfrom
RID-12099-prepare-for-npm-v12
Aug 27, 2026
Merged

chore: RID-12099 - prepare for npm v12: drop always-auth via setup-node v6#24
amit-schreiber-transmit merged 1 commit into
mainfrom
RID-12099-prepare-for-npm-v12

Conversation

@amit-schreiber-transmit

@amit-schreiber-transmit amit-schreiber-transmit commented Aug 27, 2026

Copy link
Copy Markdown
Contributor

setup-node@v3's always-auth input unconditionally writes a bare, unscoped always-auth= line to .npmrc whenever registry-url is set, regardless of the input's value. npm >=11.16 rejects always-auth in any form (removed in npm v12). setup-node@v6 dropped the always-auth input and its .npmrc writing entirely -- confirmed against its source, the registry-url/_authToken/ NODE_AUTH_TOKEN mechanism this workflow relies on is otherwise unchanged. The build job's setup-node call had always-auth: true but no registry-url, so it was already a no-op; removed for consistency with the other two calls in this file. ci.yml doesn't set registry-url or always-auth anywhere, so it isn't affected and is left untouched.

@amit-schreiber-transmit amit-schreiber-transmit changed the title chore: RID-12099 - prepare for npm v12: drop always-auth via setup-no… chore: RID-12099 - prepare for npm v12: drop always-auth via setup-node v6 Aug 27, 2026
…de v6

setup-node@v3's always-auth input unconditionally writes a bare, unscoped
always-auth=<value> line to .npmrc whenever registry-url is set, regardless of
the input's value. npm >=11.16 rejects always-auth in any form (removed in
npm v12). setup-node@v6 dropped the always-auth input and its .npmrc writing
entirely -- confirmed against its source, the registry-url/_authToken/
NODE_AUTH_TOKEN mechanism this workflow relies on is otherwise unchanged.
The build job's setup-node call had always-auth: true but no registry-url,
so it was already a no-op; removed for consistency with the other two calls
in this file. ci.yml doesn't set registry-url or always-auth anywhere, so it
isn't affected and is left untouched.
@amit-schreiber-transmit
amit-schreiber-transmit force-pushed the RID-12099-prepare-for-npm-v12 branch from c5124fb to 8c013e9 Compare August 27, 2026 08:21
@amit-schreiber-transmit
amit-schreiber-transmit merged commit f134e62 into main Aug 27, 2026
1 check passed
@amit-schreiber-transmit
amit-schreiber-transmit deleted the RID-12099-prepare-for-npm-v12 branch August 27, 2026 08:22
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.

2 participants