You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
357 B
25 lines
357 B
2 years ago
|
#!/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
|