Re-add gitlab:ui:visual ci job
This commit is contained in:
parent
2e15494270
commit
b122bcdfb1
|
@ -683,6 +683,29 @@ gitlab:assets:compile:
|
||||||
- docker
|
- docker
|
||||||
- gitlab-org
|
- 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:
|
karma:
|
||||||
<<: *dedicated-no-docs-pull-cache-job
|
<<: *dedicated-no-docs-pull-cache-job
|
||||||
<<: *use-pg
|
<<: *use-pg
|
||||||
|
|
Loading…
Reference in New Issue