Skip to content

NPM warning re: always-auth #164

Description

@broksonic21

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions