diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml deleted file mode 100644 index b9f29968d840f0f6e62b50db0ec81076a196842d..0000000000000000000000000000000000000000 --- a/.gitlab-ci.yml +++ /dev/null @@ -1,33 +0,0 @@ -stages: - - test - -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: - - .npm - - cache/Cypress - - node_modules - -test: - image: cypress/base:10 - stage: test - script: - # install dependencies - - npm ci - - # Kjør express-serveren i bakgrunnen - - npm start & - - # run Cypress tests - - npm test - artifacts: - when: always - paths: - - cypress/videos - - cypress/screenshots - expire_in: 1 week \ No newline at end of file