advanced.md changes

This commit is contained in:
Hargun Kaur 2021-11-02 16:36:30 +00:00 committed by GitHub
parent 36c80a7556
commit 7ff10b129d

View file

@ -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: