NpmPublish

JFrog Pipelines Documentation

Products
JFrog Pipelines
Content Type
User Guide
ft:sourceType
Paligo

The NpmPublish step publishes an npm package to the registry in Artifactory following an NpmBuild step. It is recommended, but not required, that the NpmBuild and NpmPublish steps be in the same affinity group to optimize sharing files between the two steps.

Important

The NpmPublish native step may fail on W19 nodes when JFrog CLI v1 is used. Workaround is to use JFrog CLI v2.

Important

The NpmPublish native step uses Node runtime image by default. If runtime image of any other type is configured at pipeline-level for this native step, it will be ignored.

The following topics provide more information on NpmPublish Pipeline steps:

See also: Pipeline Example: Npm Build