TypeScript/jenkins.sh

14 lines
236 B
Bash
Raw Normal View History

2016-10-21 00:36:44 +02:00
#!/usr/bin/env bash
# Set up NVM
export NVM_DIR="/home/dotnet-bot/.nvm"
2017-05-31 01:50:24 +02:00
[ -s "$NVM_DIR/nvm.sh" ] && . "$NVM_DIR/nvm.sh"
2016-10-21 00:36:44 +02:00
nvm install $1
2017-05-31 01:50:24 +02:00
npm uninstall typescript --no-save
npm uninstall tslint --no-save
2016-10-21 00:36:44 +02:00
npm install
npm update
npm test