Skip to content

Commit

Permalink
feat(setup-node): support .nodeversion file
Browse files Browse the repository at this point in the history
Signed-off-by: Emilien Escalle <neilime@users.noreply.github.com>
  • Loading branch information
neilime committed Mar 29, 2024
1 parent 2339eff commit 8abb518
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions actions/setup-node/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,10 @@ runs:
echo "node-version-file=.nvmrc" >> $GITHUB_OUTPUT
exit 0
fi
if [ -f ".node-version" ]; then
echo "node-version-file=.node-version" >> $GITHUB_OUTPUT
exit 0
fi
- uses: actions/setup-node@v4.0.2
with:
Expand Down

0 comments on commit 8abb518

Please sign in to comment.