diff options
author | Clement Ho <clemmakesapps@gmail.com> | 2019-03-06 17:36:00 +0300 |
---|---|---|
committer | Tim Zallmann <tzallmann@gitlab.com> | 2019-03-06 17:36:00 +0300 |
commit | b122bcdfb11ba6224c720bfbdd2964a54bb17b24 (patch) | |
tree | f4601da7585cac5018e5ef7bd6032f404dfec5f2 | |
parent | 2e1549427029f3f6635659a1cc0434666bbe9d67 (diff) |
Re-add gitlab:ui:visual ci job
-rw-r--r-- | .gitlab-ci.yml | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 668cf46cef8..75da38658af 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -683,6 +683,29 @@ gitlab:assets:compile: - docker - gitlab-org +gitlab:ui:visual: + tags: + - gitlab-org + before_script: [] + dependencies: + - compile-assets + script: + # Remove node modules from GitLab that may conflict with gitlab-ui + - rm -r node_modules + - git clone https://gitlab.com/gitlab-org/gitlab-ui.git + - cp public/assets/application-*.css gitlab-ui/styles/application.css + - cd gitlab-ui + - yarn install + - CSS_URL=./application.css yarn test + only: + changes: + - app/assets/stylesheets/*.scss + - app/assets/stylesheets/**/*.scss + - app/assets/stylesheets/**/**/*.scss + artifacts: + paths: + - tests/__image_snapshots__/ + karma: <<: *dedicated-no-docs-pull-cache-job <<: *use-pg |