npm for Bitbucket Pipelines
Bitbucket Pipelines allows you to seamlessly connect your development project into a continuous integration system within the Bitbucket Cloud UI. Configuring your projects for Pipelines is easy: simply provide a bitbucket-pipelines.yml chosen from a list of common technologies.
Working with private packages in the npm Registry
- Use the
bitbucket-pipelines.ymlsupplied in this repository. - Set the
NPM_TOKENenvironment variable (This token can be found in your local~/.npmrc, after you log in to the registry). - Enable pipelines.
Working with private packages in npm Enterprise
- Use the
bitbucket-pipelines.ymlsupplied in this repository. - Set the
NPM_TOKENenvironment variable (This token can be found in your local~/.npmrc, after you log in to the registry). - Set
NPM_REGISTRY_URLto the full URL of your private registry (with scheme). - Enable pipelines.