Private NPM Dependencies

To install private dependecies, please commit your .npmrc or .yarnrc.yml files making sure all sensitive information like tokens are replaced by environment variables.

You need to provide any environment variables that these configuration files use with the prefix of NPM_.

1
2
registry=https://npm.pkg.github.com/org
//npm.pkg.github.com/:_authToken="${NPM_GH_TOKEN}"

Was this article helpful to you?
Provide feedback

Edit this page