mirror of
https://github.com/actions/setup-node.git
synced 2025-04-22 17:26:27 +00:00
advanced.md changes
This commit is contained in:
parent
36c80a7556
commit
7ff10b129d
1 changed files with 2 additions and 3 deletions
|
@ -21,10 +21,9 @@ steps:
|
||||||
|
|
||||||
## Node version file
|
## Node version file
|
||||||
|
|
||||||
The action will search for the node version file relative to repository root.
|
|
||||||
The `node-version-file` input contains the version of node used by project, for example `.nvmrc`. If both the `node-version` and the `node-version-file` inputs are provided the `node-version` input is used.
|
The `node-version-file` input contains the version of node used by project, for example `.nvmrc`. If both the `node-version` and the `node-version-file` inputs are provided the `node-version` input is used.
|
||||||
You can check [supported version syntax](https://github.com/actions/setup-node#supported-version-syntax)
|
You can check [supported version syntax](https://github.com/actions/setup-node#supported-version-syntax)
|
||||||
> The node version file is read from the project root
|
> The action will search for the node version file relative to repository root.
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
steps:
|
steps:
|
||||||
|
|
Loading…
Add table
Reference in a new issue