add yarn check to ensure package.json doesn't diverge from yarn.lock

This commit is contained in:
Mike Greiling 2017-02-13 16:23:15 -06:00
parent 9a3d271294
commit 4e3c9a5745

View file

@ -109,7 +109,8 @@ setup-test-env:
script: script:
- node --version - node --version
- yarn --version - yarn --version
- yarn install - yarn install --pure-lockfile
- yarn check # ensure that yarn.lock matches package.json
- bundle exec rake gitlab:assets:compile - bundle exec rake gitlab:assets:compile
- bundle exec ruby -Ispec -e 'require "spec_helper" ; TestEnv.init' - bundle exec ruby -Ispec -e 'require "spec_helper" ; TestEnv.init'
artifacts: artifacts: