mirror of
https://github.com/avelino/awesome-go.git
synced 2024-12-12 17:13:58 +00:00
active nodejs version by nvm
Signed-off-by: Avelino <t@avelino.xxx>
This commit is contained in:
parent
d54b08bf2f
commit
24f7db42db
@ -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:
|
||||||
|
Loading…
Reference in New Issue
Block a user