June 2020
Intermediate to advanced
432 pages
11h 57m
English
Uploading a package by hand is not a convenient solution if you need to do it more than once. In cases where you want to frequently generate and publish a new version of a library, you can use an Azure pipeline. As well as to the automation that this gives you, it is also a great way to introduce repeatability and reliability, since you can now use all of the benefits that pipelines offer you.
As an example, you can find a possible build definition for creating an npm package and publishing that as follows. The sources for this build are from an open source Microsoft GitHub repository called tfs-cli.
In this pipeline, there are three usages of the built-in npm task:
Read now
Unlock full access