You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The idea would be to propose having an array of string when it comes to node-version-file so that it would have fallbacks if the file was not found
Justification:
Like many i'm using this action in a monorepo, where sometimes services/packages are not on par. Some have a .node-version file, some a .nvmrc file, and some a package.json file. I wished we could provide the 3 so that the first found gets picked.
Are you willing to submit a PR?
Yes, I could work on it.
The text was updated successfully, but these errors were encountered:
As far as I know, GitHub actions definitions do not allow arrays as inputs, so we'd have to serialize the list. I've posted a similar but mightier suggestion over here in issue 939.
Description:
The idea would be to propose having an array of string when it comes to
node-version-file
so that it would have fallbacks if the file was not foundJustification:
Like many i'm using this action in a monorepo, where sometimes services/packages are not on par. Some have a
.node-version
file, some a.nvmrc
file, and some apackage.json
file. I wished we could provide the 3 so that the first found gets picked.Are you willing to submit a PR?
Yes, I could work on it.
The text was updated successfully, but these errors were encountered: