Skip to content

Commit 8211e00

Browse files
committed
docs: update verbiage for package.json
1 parent dbfbe9b commit 8211e00

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/advanced-usage.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ steps:
5656
5757
## Node version file
5858
59-
The `node-version-file` input accepts a path to a file containing the version of Node.js to be used by a project, for example `.nvmrc` or `.node-version`. If both the `node-version` and the `node-version-file` inputs are provided then the `node-version` input is used. In the special case of using `volta`, the action will use `package.json` and look for the `volta.node` key.
59+
The `node-version-file` input accepts a path to a file containing the version of Node.js to be used by a project, for example `.nvmrc` or `.node-version`. If both the `node-version` and the `node-version-file` inputs are provided then the `node-version` input is used. In the special case of using `package.json`, the action will look for keys like `volta.node` key to receive the version.
6060

6161
See [supported version syntax](https://github.com/actions/setup-node#supported-version-syntax)
6262

0 commit comments

Comments
 (0)