diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 9ec3a25..307fb41 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -30,15 +30,15 @@ workflow: stage: Test Stage image: node:alpine variables: - npm_config_cache: "$CI_PROJECT_DIR/.npm" + npm_config_cache: "$CI_PROJECT_DIR/.npm-cache" cache: key: files: - frontend/package-lock.json paths: - - frontend/.npm + - .npm-cache - frontend/node_modules script: - cd frontend - - npm ci --cache .npm --prefer-offline + - npm ci --prefer-offline - npm test -- run --exclude "**/*.live.test.ts"