forked from p15670423/monkey
nvm comes pre-installed on travis images, so we're fine
This commit is contained in:
parent
1f79c16318
commit
8d2b879ea7
|
@ -26,10 +26,7 @@ install:
|
||||||
# node + npm + eslint
|
# node + npm + eslint
|
||||||
- node --version
|
- node --version
|
||||||
- npm --version
|
- npm --version
|
||||||
# Install NVM, see https://github.com/nvm-sh/nvm#installing-and-updating
|
- nvm --version
|
||||||
- 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 install node
|
- nvm install node
|
||||||
- nvm use node
|
- nvm use node
|
||||||
- npm i -g eslint
|
- npm i -g eslint
|
||||||
|
|
Loading…
Reference in New Issue