Welcome to the Inedo Forums! Check out the Forums Guide for help getting started.
If you are experiencing any issues with the forum software, please visit the Contact Form on our website and let us know!
Anonymous publishing to an NPM feed
-
Hello,
We're trying to get GitLab CI working with ProGet to automatically publish NPM packages. Our original intent was that our CI would be publishing packages, once the changes were merged into the ‘master’ branch, and not individual developers. It was then discovered that authentication tokens are not supported for NPM, and we have been unsuccessful in finding an alternative for authentication using either NPM or YARN to publish to ProGet from a CI script (using npm adduser & yarn login).As a result, we have had a to turn off authentication for Publishing and given ‘Anonymous’ users permissions to Publish. However even after making this change, we are still unable to publish to ProGet from the GitLab CI scripts without logging in.
Is it possible at all for anonymous users to publish NPM packages to ProGet without logging in?
Product: ProGet
Version: 4.7.14
-
I don't believe the NPM protocol allows for anonymous pushes. You could certainly have your CI put it in a drop folder however, which the ProGet would pick-up.