Skip to content

Latest commit

 

History

History
33 lines (22 loc) · 847 Bytes

README.md

File metadata and controls

33 lines (22 loc) · 847 Bytes

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.4.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