diff options
author | winh <winnie@gitlab.com> | 2017-05-11 12:30:06 +0200 |
---|---|---|
committer | winh <winnie@gitlab.com> | 2017-05-11 12:39:36 +0200 |
commit | fd9b1c281014cda709c9ef888b66cb4585608aaa (patch) | |
tree | 460f97e093b8e9ce6d2396f437d52df861fb93ed | |
parent | 1daa133c04532d80c524439fc5ef931daada6303 (diff) | |
download | gitlab-ce-winh-move-yarn-install.tar.gz |
Do not rely on artifacts for yarn installwinh-move-yarn-install
-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: |