Skip to content

Automattic/nvm-buildkite-plugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Node Buildkite Plugin

Set up node.js environment using nvm.

Example

Add the following to your pipeline.yml:

steps:
  - command: ls
    plugins:
      - automattic/nvm#0.3.0:
          version: 'v18'

Configuration

version (Optional, string)

The node.js version that nvm supports. If it's not set, the project's .nvmrc file will be used.

curlrc (Optional, string)

Content of a .curlrc file. This option can be used to pass extra command line arguments to all curl commands. For example --http1.1 makes nvm–which invokes curl commands—use HTTP1.1 protocol.

Contributing

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