nvm comes pre-installed on travis images, so we're fine

This commit is contained in:
Shay Nehmad 2020-05-20 16:09:36 +03:00
parent 1f79c16318
commit 8d2b879ea7
1 changed files with 1 additions and 4 deletions

View File

@ -26,10 +26,7 @@ install:
# node + npm + eslint
- node --version
- npm --version
# Install NVM, see https://github.com/nvm-sh/nvm#installing-and-updating
- curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.35.3/install.sh | bash
- export NVM_DIR="$HOME/.nvm"
- [ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
- nvm --version
- nvm install node
- nvm use node
- npm i -g eslint