DerYeger / yarn-setup-action

GitHub Action for setting up a Yarn environment. Caches dependencies for reduced execution times.
MIT License
18 stars 3 forks source link

[Feature]: Allow `.nvmrc` to configure node version #9

Open eborden opened 2 years ago

eborden commented 2 years ago

Description

.nvmrc provides a single source of truth for the node version in a repo. Utilizing this file can reduce build complexity and redundant configuration.

Solution

setup-node supports node-version-file for passing a .nvmrc. Passing this value through to setup-node would allow for a single source of truth.

Additional context

No response

Preferences