From fb190a30df3a2f779c8b0ee920cc10124731cc8b Mon Sep 17 00:00:00 2001 From: Karl Horky Date: Wed, 14 Aug 2024 09:45:20 +0200 Subject: [PATCH] Switch `which node` to `nvm which node` - https://github.com/ybiquitous/using-nvm-on-github-action/pull/3#discussion_r1715564877 --- readme.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/readme.md b/readme.md index 5ba9f10..64307e0 100644 --- a/readme.md +++ b/readme.md @@ -75,7 +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/*' - echo "$(dirname $(which node))" >> $GITHUB_PATH + echo "$(dirname $(nvm which node))" >> $GITHUB_PATH shell: bash -l {0} ```