Skip to content
Snippets Groups Projects
Commit ea2b38db authored by Albin Henriksson's avatar Albin Henriksson
Browse files

#2: Changing folder on each script and artifact path

parent 5180f9c1
No related branches found
No related tags found
2 merge requests!8Issue/2 test front end,!6Issue/2 test front end
......@@ -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
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