From d4236d389e502e8d8d02b392d4e651d54f82ee0a Mon Sep 17 00:00:00 2001 From: Karl Horky Date: Tue, 13 Aug 2024 13:21:09 +0200 Subject: [PATCH] Simplify correct version trick --- readme.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/readme.md b/readme.md index 39e5fdb..5ba9f10 100644 --- a/readme.md +++ b/readme.md @@ -75,8 +75,7 @@ To resolve this, switch off `actions/setup-node` and instead use the preinstalle - name: Install latest LTS with nvm run: | nvm install 'lts/*' - rm /usr/local/bin/node - ln -s $(which node) /usr/local/bin/node + echo "$(dirname $(which node))" >> $GITHUB_PATH shell: bash -l {0} ```