Document lts option

This commit is contained in:
Danny McCormick 2019-07-29 10:50:34 -04:00
parent 419dce7d3b
commit 374a5fddc3
2 changed files with 12 additions and 1 deletions

View file

@ -38,6 +38,17 @@ jobs:
- run: npm test - run: npm test
``` ```
Get the LTS version:
```yaml
steps:
- uses: actions/checkout@master
- uses: actions/setup-node@master
with:
version: lts
- run: npm install
- run: npm test
```
# License # License
The scripts and documentation in this project are released under the [MIT License](LICENSE) The scripts and documentation in this project are released under the [MIT License](LICENSE)

View file

@ -3,7 +3,7 @@ description: 'Setup a Node.js environment and add it to the PATH, additionally p
author: 'GitHub' author: 'GitHub'
inputs: inputs:
version: version:
description: 'Version Spec of the version to use. Examples: 10.x, 10.15.1, >=10.15.0' description: 'Version Spec of the version to use. Examples: 10.x, 10.15.1, >=10.15.0, lts'
default: '10.x' default: '10.x'
runs: runs:
using: 'node12' using: 'node12'