I am having a problem consuming a private npm package. Let me explain the setup.
On push to master npm install, build, test, codecov and publish.
On push to master
npm install which has @company/repo as dependency (npm ERR! 401 Unauthorized - GET https://npm.pkg.github.com/@company/repo
npm postinstall copy assets to build folder (this has permission issues)
I can not seem to get npm or yarn install to have a valid session to download the package.
NOTE: I am able to login and download locally. Does this mean GH Actions must manually login to the registry?
So confused please help.