diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 693d8d01e863b7cf96cb3ab6a020f8a911cf88df..fd43e137bd0254aa639e2f4eaa37c3ee6cd9073d 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -15,8 +15,8 @@ install: untracked: true expire_in: 60 mins paths: - - .npm/ - - node_modules/ + - client/.npm/ + - client/node_modules/ build: stage: build @@ -25,7 +25,7 @@ build: - CI=false npm run build artifacts: paths: - - build + - client/build expire_in: 60 mins dependencies: - install @@ -33,6 +33,7 @@ build: linting: stage: quality script: + - cd client - npm run lint dependencies: - install @@ -40,21 +41,9 @@ linting: test:unit: stage: quality script: + - cd client - npm run test:coverage dependencies: - install coverage: /All files[^|]*\|[^|]*\s+([\d\.]+)/ -test:e2e: - stage: quality - image: cypress/browsers:chrome69 - dependencies: - - install - - build - script: - - npm run e2e:ci - artifacts: - paths: - - cypress/screenshots - - cypress/videos - expire_in: 1 day