24 lines
357 B
Bash
Executable file
24 lines
357 B
Bash
Executable file
#!/usr/bin/env zsh
|
|
|
|
wget -qO- https://raw.githubusercontent.com/creationix/nvm/v0.21.0/install.sh | bash
|
|
source ~/.nvm/nvm.sh
|
|
|
|
nvm install
|
|
nvm use
|
|
|
|
npm install
|
|
|
|
node -v
|
|
npm -v
|
|
|
|
npm install
|
|
|
|
set -e
|
|
|
|
# Any subsequent commands which fail will cause the shell script to exit immediately
|
|
setopt extended_glob;
|
|
|
|
npm test
|
|
|
|
#npm install check-build -g
|
|
#check-build
|