diff options
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r-- | .gitlab-ci.yml | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 2329c9c6edc..fa47aea310d 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -672,6 +672,24 @@ 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 + artifacts: + paths: + - tests/__image_snapshots__/ + karma: <<: *dedicated-no-docs-pull-cache-job <<: *use-pg |