diff options
-rw-r--r-- | .gitlab-ci.yml | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 88d536fa9b3..ef78c4e534e 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -186,13 +186,13 @@ setup-test-env: stage: prepare script: - node --version + - yarn --version - yarn install --pure-lockfile - bundle exec rake gitlab:assets:compile - bundle exec ruby -Ispec -e 'require "spec_helper" ; TestEnv.init' artifacts: expire_in: 7d paths: - - node_modules - public/assets - tmp/tests @@ -418,6 +418,7 @@ rake karma: variables: BABEL_ENV: "coverage" script: + - yarn install --pure-lockfile - bundle exec rake karma coverage: '/^Statements *: (\d+\.\d+%)/' artifacts: @@ -478,6 +479,7 @@ lint:javascript:report: stage: post-test before_script: [] script: + - yarn install --pure-lockfile - find app/ spec/ -name '*.js' -exec sed --in-place 's|/\* eslint-disable .*\*/||' {} \; # run report over all files - yarn run eslint-report || true # ignore exit code artifacts: |