summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
authorMike Greiling <mike@pixelcog.com>2017-02-13 16:23:15 -0600
committerMike Greiling <mike@pixelcog.com>2017-02-13 23:44:47 -0600
commit4e3c9a57453ddf4b6b5fcc4e6f14a53142c67307 (patch)
tree1d82b5b8470ed41430c4ead5e91e903aa0ce0bfb /.gitlab-ci.yml
parent9a3d2712941e01842f925beef2a3f0f6ca21434e (diff)
downloadgitlab-ce-4e3c9a57453ddf4b6b5fcc4e6f14a53142c67307.tar.gz
add yarn check to ensure package.json doesn't diverge from yarn.lock
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml3
1 files changed, 2 insertions, 1 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index edf008d2793..b2622ac7e0f 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -109,7 +109,8 @@ setup-test-env:
script:
- node --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 ruby -Ispec -e 'require "spec_helper" ; TestEnv.init'
artifacts: