Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 

Private Global NPM Packages

A Buildkite plugin to utilise global installations of npm packages in your builds. This is particularly useful if you need to access private packages.

Prerequisites

Node installation on your Buildkite agents.

Install a npm package as global

steps:
  - plugins:
    - lendi-au/npm-global:
          env: "NPM_TOKEN"
          package: "@private-org/package"

Custom registry support

We have a custom registry which uses basic authentication rather than a typical NPM_TOKEN.

steps:
  - plugins:
    - lendi-au/npm-global:
          token: "echo -n user:password | openssl base64"
          authtype: "BASIC"
          registry: "https://my-registry.example.org"
          package: "@private-org/package"

About

This is a buildkite plugin to install a global npm package as part of the agent build. Utilises a custom node package location

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages