Skip to content
Snippets Groups Projects
Commit 231197a0 authored by Sven-Erik Teveldal Nystad's avatar Sven-Erik Teveldal Nystad
Browse files

Update .gitlab-ci.yml

parent 4302c984
No related branches found
No related tags found
No related merge requests found
Pipeline #127096 passed
......@@ -5,6 +5,7 @@ variables:
npm_config_cache: "$CI_PROJECT_DIR/.npm"
CYPRESS_CACHE_FOLDER: "$CI_PROJECT_DIR/cache/Cypress"
# https://gitlab.com/help/ci/caching/index.md
cache:
key: ${CI_COMMIT_REF_SLUG}
paths:
......@@ -22,11 +23,11 @@ test:
# Kjør express-serveren i bakgrunnen
- npm start &
# Kjør testene
# run Cypress tests
- npm test
artifacts:
when: always
paths:
- cypress/videos
- cypress/screenshots
expire_in: 1 day
\ No newline at end of file
expire_in: 1 week
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment