npm How to Automate NPM Package Publishing With Azure DevOps? At the end of this tutorial, you’ll have a release pipeline that's triggered by a merge (a PR) to a release/1.0.1 branch and only waits for your approval before publishing to NPM.