Fix the way to test whether yarn.lock is updated

This commit is contained in:
Yuya Ochiai
2017-09-21 22:00:53 +09:00
parent 81bc55fe46
commit b9870a9b0f

View File

@@ -8,9 +8,9 @@ dependencies:
- ~/.cache/yarn
override:
- yarn
- yarn check
- cd src && yarn check
post:
- if git status --short | grep yarn\.lock; then echo 'yarn.lock is not updated'; false; else true; fi
- sudo dpkg --add-architecture i386
- sudo add-apt-repository ppa:ubuntu-wine/ppa -y
- sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF