Merge pull request #16160 from Microsoft/fixBuildScripts

Update build scripts for npm5
This commit is contained in:
Ron Buckton 2017-05-30 17:40:30 -07:00 committed by GitHub
commit 411cb45af4
2 changed files with 5 additions and 5 deletions

View file

@ -21,8 +21,8 @@ branches:
- release-2.3
install:
- npm uninstall typescript
- npm uninstall tslint
- npm uninstall typescript --no-save
- npm uninstall tslint --no-save
- npm install
cache:

View file

@ -2,12 +2,12 @@
# Set up NVM
export NVM_DIR="/home/dotnet-bot/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && . "$NVM_DIR/nvm.sh"
[ -s "$NVM_DIR/nvm.sh" ] && . "$NVM_DIR/nvm.sh"
nvm install $1
npm uninstall typescript
npm uninstall tslint
npm uninstall typescript --no-save
npm uninstall tslint --no-save
npm install
npm update
npm test