mirror of
https://github.com/captbaritone/webamp
synced 2024-11-23 00:34:42 +00:00
Use yarn for Travis/deploy
This commit is contained in:
parent
523c3e87ba
commit
6528dbdd11
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user