We use a self-hosted Azure DevOps server for our private npm packages.
We've had success using Azure Pipelines to build and deploy packages to Azure Artifacts. This works fine but I and my colleagues can still publish from the npm command npm publish
.
Can anyone tell me how to publish packages only from Azure pipelines and prevent users to publish from their development machine ?
CodePudding user response:
Please check this official doc: