Expand current syntax to support aliases for latest version (current/latest/node) (#483)

This commit is contained in:
Milos Pantic
2022-05-12 17:26:02 +02:00
committed by GitHub
parent b067f78ed3
commit 17f8bd9264
5 changed files with 75 additions and 0 deletions

View File

@ -40,6 +40,9 @@ The `node-version` input supports the following syntax:
major versions: `12`, `14`, `16`
more specific versions: `10.15`, `14.2.0`, `16.3.0`
nvm lts syntax: `lts/erbium`, `lts/fermium`, `lts/*`
latest release: `latest`/`current`/`node`
**Note:** Since the latest release will not be cached always, there is possibility of hitting rate limit when downloading from dist
### Checking in lockfiles