action
action copied to clipboard
NPM warning re: always-auth
We are setting volta-cli/action like this:
- name: install volta
uses: volta-cli/action@v4
with:
registry-url: "https://npm.pkg.github.com/"
which is creating a temporary user npmrc (As seen by npm config list in github actions):
Run npm config list
npm warn Unknown user config "always-auth". This will stop working in the next major version of npm.
; "user" config from /home/runner/work/_temp/.npmrc
@REDACTED_OUR_ORG:registry = "https://npm.pkg.github.com/"
//npm.pkg.github.com/:_authToken = (protected)
always-auth = false
(obviously the redacted org is org specific)
That warning re always-auth is showing up in a lot of npm calls. I'm not sure if this is volta-cli or setup-node doing it, but can it be fixed?
Given volta-cli defaults to false, likely coming from it: https://github.com/volta-cli/action#:~:text=%24%7B%7B%20github.token%20%7D%7D-,always%2Dauth,false,-Usage