You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
(I have added the step before of "Install packages" step but it can go after the "Build package" step as well)
In the package.json i saw the publishConfig that replace the .npmrc but i don't see a config to load the token, in the offical documentation is using setup-node@v4. In this step, looks that .npmrc is setuped automatically and in the with atribute set the npm registry url.
And a third posible solution can be set de NPM_TOKEN for the npm registry using npm config as in this article (npm publish ci/cd pipeline)
I suspect that
NPM_TOKEN
has expired or there are some problem autheticating, here in gh action (https://github.com/Twirelab/nestjs-auth0/actions/runs/11192438265/job/31116600762) log a code ENEEDAUTH. Maybe adding two lines in.github/workflows/publish.yml
works:(I have added the step before of "Install packages" step but it can go after the "Build package" step as well)
In the
package.json
i saw thepublishConfig
that replace the.npmrc
but i don't see a config to load the token, in the offical documentation is using setup-node@v4. In this step, looks that .npmrc is setuped automatically and in thewith
atribute set the npm registry url.And a third posible solution can be set de NPM_TOKEN for the npm registry using
npm config
as in this article (npm publish ci/cd pipeline)Publish node package with CI documentation
Using private packages in a CI/CD workflow
If you need help to fix it, I'll be happy to help you.
UPDATE: I made a PR here #20
The text was updated successfully, but these errors were encountered: