Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
I'm using nodenv to handle a lot of versions of node binaries on my computer. It provides a
.node-versionfile to change node version based on the current directory. So, I specify the local node version by.node-versionas well as setup-node input in GitHub Actions.In this case, I want to make a
.node-versionfile the only place where the node version is notated. To achieve this, I sometimes read.node-versionand provide the result to setup-node like this:This is acceptable, but I think it is a better option for setup-node to have
node-version-fileas another way to specify the node version like this:I'm willing to implement this feature if the team accepts the idea. Thanks for reading my proposal😄