active nodejs version by nvm

Signed-off-by: Avelino <t@avelino.xxx>
This commit is contained in:
Avelino 2021-04-09 09:45:43 -03:00
parent d54b08bf2f
commit 24f7db42db
No known key found for this signature in database
GPG Key ID: B345B4D52E98180A

View File

@ -1,5 +1,4 @@
language: go language: go
node_js: latest
go: go:
- 1.x - 1.x
@ -7,10 +6,12 @@ go:
sudo: false sudo: false
install: install:
- node --version
- go get -t -v ./... - go get -t -v ./...
before_deploy: before_deploy:
- . $HOME/.nvm/nvm.sh
- nvm install latest
- nvm use latest
- npm install netlify-cli -g - npm install netlify-cli -g
deploy: deploy: