Install and manage multiple node versions by leveraging the n tool
Add the following to your pipeline.yml
:
steps:
- command: node --version
plugins:
- sv-oss/node-n#v0.1.2:
node-version: v15
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
Directory in which the N tool will be installed. (defaults to $HOME/n
)
To run the tests:
docker-compose run --rm tests
- Fork the repo
- Make the changes
- Run the tests
- Commit and push your changes
- Send a pull request