Use yarn for Travis/deploy

This commit is contained in:
Jordan Eldredge 2017-03-20 17:50:03 +00:00
parent 523c3e87ba
commit 6528dbdd11
2 changed files with 5098 additions and 3 deletions

View File

@ -13,13 +13,13 @@ echo "Cloning Winamp2-js"
git clone git@github.com:captbaritone/winamp2-js.git $NEW_CLONE > /dev/null
echo "Installing Node requirements"
( cd $NEW_CLONE && npm install)
( cd $NEW_CLONE && yarn install)
echo "Run tests"
( cd $NEW_CLONE && npm run test )
( cd $NEW_CLONE && yarn run test )
echo "Build the webpack bundle"
( cd $NEW_CLONE && npm run build)
( cd $NEW_CLONE && yarn run build)
echo "Cleaning up node_modules/ to save space"
( cd $NEW_CLONE && rm -r node_modules)

5095
yarn.lock Normal file

File diff suppressed because it is too large Load Diff