Description
Description:
Stop adding always-auth = (Boolean)
to the .npmrc
file by default.
Consider removing the always-auth
actions input and all related code.
If there's an upcoming major release in the next year or so, this change be incorporated into that to ensure stable workflows aren't impacted.
Justification:
always-auth
was removed from the npm cli in 2021: npm/cli@72a7eeb. npm 6 (?) was the last release to honor this flag. See https://docs.npmjs.com/cli/v6/commands/npm-adduser vs newer docs.
npm cli 11 warns npm warn Unknown user config "always-auth". This will stop working in the next major version of npm.
Are you willing to submit a PR?
Yes
Related
Sample workflow run: https://github.com/hashtagchris/junk-drawer/actions/runs/15785443544/job/44500732542#step:5:8
Addition of always-auth
: #48