mirror of
https://code.forgejo.org/actions/setup-node.git
synced 2024-12-22 12:52:16 -05:00
Update README.md
Co-authored-by: Alena Sviridenko <alenasviridenko@github.com>
This commit is contained in:
parent
40f85c8c97
commit
e1e1d4c853
1 changed files with 1 additions and 1 deletions
|
@ -26,7 +26,7 @@ steps:
|
|||
- run: npm test
|
||||
```
|
||||
|
||||
The `node-version` input is optional. If not supplied, the node version from PATH will be used. However, It is recommended to always specify Node.js version and don't rely on system one.
|
||||
The `node-version` input is optional. If not supplied, the node version from PATH will be used. However, it is recommended to always specify Node.js version and don't rely on the system one.
|
||||
|
||||
The action will first check the local cache for a semver match. If unable to find a specific version in the cache, the action will attempt to download a version of Node.js. It will pull LTS versions from [node-versions releases](https://github.com/actions/node-versions/releases) and on miss or failure will fall back to the previous behavior of downloading directly from [node dist](https://nodejs.org/dist/).
|
||||
|
||||
|
|
Loading…
Reference in a new issue