401 Unauthorized trying to install cross-repo internal organisation package #86645
Select Topic AreaQuestion BodyCan anyone assist me working out where I've gone wrong here? I'm trying to install an internal package, but always get Issue Summary401 Unauthorized trying to install cross-repo internal organisation package
ContextPublished package (details taken from package overview):Dependant repo:.npmrc:package.json (snip)Build job:setup-node actionpnpm config output from build step:ResultAction log: |
Replies: 3 comments 1 reply
|
(replying to my own post) Is this statement on page https://docs.github.com/en/packages/working-with-a-github-packages-registry/working-with-the-npm-registry relevant? It seems to imply that a GitHub action requires a configured secret user-based PAT to function?
But it mentions 'private' repos, and ours is internal. And the next section contradicts?
|
|
[SOLVED] So simple, but took so long to isolate! |

[SOLVED]
Even though the workflow logs show the NODE_AUTH_TOKEN, it needs to be explicitly set:
So simple, but took so long to isolate!