mirror of
https://code.forgejo.org/actions/setup-node.git
synced 2025-05-18 20:44:44 +00:00
Add support for asdf format as Node.js version file
This commit is contained in:
parent
82496765f3
commit
dbb64ac1d1
7 changed files with 32 additions and 20 deletions
|
@ -56,7 +56,7 @@ steps:
|
|||
|
||||
## Node version file
|
||||
|
||||
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.
|
||||
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`, `.node-version` or `.tool-versions`. If both the `node-version` and the `node-version-file` inputs are provided then the `node-version` input is used.
|
||||
See [supported version syntax](https://github.com/actions/setup-node#supported-version-syntax)
|
||||
> The action will search for the node version file relative to the repository root.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue