Reputation: 7
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 ?
Upvotes: 0
Views: 1146
Reputation: 7241
Please check this official doc:
You need to set permission in this place:
Upvotes: 0