Skip to content
Snippets Groups Projects
Commit f6d8f365 authored by Max Frederiksen's avatar Max Frederiksen
Browse files

revert gitlab-ci file to original but with new aliases

parent 02ccde0d
No related branches found
No related tags found
2 merge requests!612Release 5.0.0,!569CE-3116: Cleanup react scripts
Pipeline #208061 failed
...@@ -10,3 +10,43 @@ variables: ...@@ -10,3 +10,43 @@ variables:
JOB_TAG: ce-deploy-ui JOB_TAG: ce-deploy-ui
IMAGE_TAG_VAR: ce_deploy_ui_container_image_tag IMAGE_TAG_VAR: ce_deploy_ui_container_image_tag
DOMAIN: ce-deploy-${INSTANCE}.cslab.esss.lu.se DOMAIN: ce-deploy-${INSTANCE}.cslab.esss.lu.se
install-dependencies:
artifacts:
paths:
- .cache/*
- cache/Cypress
- node_modules
- .npm
lint:
stage: check
script:
- npm run ci:code-quality
artifacts:
reports:
codequality: gl-codequality.json
.test-components:
stage: test
image: cypress/browsers:node-20.10.0-chrome-118.0.5993.88-1-ff-118.0.2-edge-118.0.2088.46-1
script:
- npm ci
- npm start &
- CHOKIDAR_USEPOLLING=true WATCHPACK_POLLING=true npx cypress run --component --browser ${BROWSER}
needs: [] # no requirements since it does an install
artifacts:
when: on_failure
paths:
- cypress/videos
- cypress/screenshots
test-components-chrome:
extends: .test-components
variables:
BROWSER: chrome
test-components-firefox:
extends: .test-components
variables:
BROWSER: firefox
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment