mirror of
https://github.com/actions/setup-node.git
synced 2025-04-24 12:22:12 +00:00
Document lts option
This commit is contained in:
parent
419dce7d3b
commit
374a5fddc3
2 changed files with 12 additions and 1 deletions
11
README.md
11
README.md
|
@ -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)
|
||||||
|
|
|
@ -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'
|
||||||
|
|
Loading…
Add table
Reference in a new issue