diff --git a/actions/setup-node/action.yml b/actions/setup-node/action.yml index 51335c9..861998f 100644 --- a/actions/setup-node/action.yml +++ b/actions/setup-node/action.yml @@ -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: