-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Closed as not planned
Labels
feature requestNew feature or request to improve the current logicNew feature or request to improve the current logic
Description
Description:
Currently using a node version file results in an error if the configured file is not found.
e.g. using .nvmrc
- uses: actions/setup-node@v3
with:
node-version-file: '.nvmrc'
Fails with the following error
The specified node version file at: /__w/actions/actions/.nvmrc does not exist
Justification:
When reusing workflows in multiple repositories, it will happen that some of them don't require a specific node version and therefor have no .nvmrc
file.
In such cases, instead of failing it would be better to throw a warning and fallback to the default node version
Are you willing to submit a PR?
Yes
Metadata
Metadata
Assignees
Labels
feature requestNew feature or request to improve the current logicNew feature or request to improve the current logic