How to fix Github action nvm command not found

 How to fix Github action nvm command not found :

 git pull

 export NVM_DIR="$HOME/.nvm"

 [ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"

 nvm install --lts

 node -v

 npm -v


atau


&& export NVM_DIR="$HOME/.nvm" && [ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" && nvm install v12.19.1 && nvm use v12.19.1 && node -v && 

Posting Komentar

0 Komentar