Set up Node.js with .nvmrc in GitHub Actions
Mar 12, 2021
Set an output parameter for .nvmrc
:
Evaluate the expression in setup-node
:
Here’s the full example of setting up Node.js with the .nvmrc
version in a GitHub Actions workflow:
The original solution is from @damccorm’s comment. The updated solution is from @peaceiris’s comment. Credit goes to them.