Share via


Publish npm packages (YAML/Classic)

TFS 2018

Using Azure Pipelines, you can publish your npm packages to Azure Artifacts feeds or to public registries such as npmjs.com. In this article, you will learn how to publish your npm packages using YAML and Classic pipelines.

Publish to Azure Artifacts feeds

YAML is not supported in TFS.

Publish to a public registry

To publish your packages to a public npm registry such as npmjs.com, you must first create a service connection to connect to the desired external service.

  1. Select Project settings, and then select Service connections.

  2. Select Create service connection to create a new service connection.

    Screenshot showing how to create a new service connection

  3. Select npm and then select Next. Fill out the required fields, and then select Save when you are done.

YAML is not supported in TFS.