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.yml
supplied in this repository. - Set the
NPM_TOKEN
environment 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.yml
supplied in this repository. - Set the
NPM_TOKEN
environment variable (This token can be found in your local~/.npmrc
, after you log in to the registry). - Set
NPM_REGISTRY_URL
to the full URL of your private registry (with scheme). - Enable pipelines.