The following plugin provides functionality available through Pipeline-compatible steps. Read more about how to integrate steps into your Pipeline in the Steps section of the Pipeline Syntax page.
For a list of other such plugins, see the Pipeline Steps Reference page.
withNPM: Provide NPM environmentcleanup : boolean (optional)
.npmrc file from the workspace upon exiting the withNPM block. Defaults to true to prevent credentials from lingering in the workspace. If an original .npmrc already existed in the workspace, it is automatically restored.
npmrcConfig : String (optional)
npmrc contains configuration values for npm. npm performs a lookup order starting in the current directory, then user, then global. By choosing a specific provider, individual builds will be able to override settings and have them managed centrally as a config file provider.
see also: npmrc reference
path : String (optional)
.npmrc file should be placed (e.g. frontend or packages/client). If omitted, the file is placed directly in the workspace root.
Please submit your feedback about this page through this quick form.
Alternatively, if you don't wish to complete the quick form, you can simply indicate if you found this page helpful?
See existing feedback here.