From 374a5fddc30803bf11c73a6511b2b1436c60ac96 Mon Sep 17 00:00:00 2001 From: Danny McCormick Date: Mon, 29 Jul 2019 10:50:34 -0400 Subject: [PATCH] Document lts option --- README.md | 11 +++++++++++ action.yml | 2 +- 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 9e4cee1c..827a2b71 100644 --- a/README.md +++ b/README.md @@ -38,6 +38,17 @@ jobs: - 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 The scripts and documentation in this project are released under the [MIT License](LICENSE) diff --git a/action.yml b/action.yml index 2f5a94c8..0d97307f 100644 --- a/action.yml +++ b/action.yml @@ -3,7 +3,7 @@ description: 'Setup a Node.js environment and add it to the PATH, additionally p author: 'GitHub' inputs: 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' runs: using: 'node12'