mirror of
https://github.com/actions/setup-node.git
synced 2025-04-21 19:18:43 +00:00
diff explanation for advanced-usage.md
This commit is contained in:
parent
acc44a64bd
commit
f606613c78
1 changed files with 2 additions and 1 deletions
|
@ -21,7 +21,8 @@ steps:
|
|||
|
||||
## Node version file
|
||||
|
||||
The `node-version-file` input allows you to use a file within your repository which contains the version of node your project uses for example `.nvmrc`. If both the `node-version` and the `node-version-file` inputs are provided the `node-version` input is used.
|
||||
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 is read from the project root
|
||||
|
||||
```yaml
|
||||
|
|
Loading…
Add table
Reference in a new issue