Skip to content

Node version manager tool (n) buildkite plugin

License

Notifications You must be signed in to change notification settings

sv-oss/node-n-buildkite-plugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Node version manager tool (n) buildkite plugin

Install and manage multiple node versions by leveraging the n tool

Example

Add the following to your pipeline.yml:

steps:
  - command: node --version
    plugins:
      - sv-oss/node-n#v0.1.2:
          node-version: v15

Configuration

node-version (Optional, string)

The node version to install. (defaults to lts) This parameter accepts any input supported by the n tool install command. See the relevant documentation for more information

tool-install-dir (Optional, string)

Directory in which the N tool will be installed. (defaults to $HOME/n)

Developing

To run the tests:

docker-compose run --rm tests

Contributing

  1. Fork the repo
  2. Make the changes
  3. Run the tests
  4. Commit and push your changes
  5. Send a pull request