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
This commit is part of merge request !6. Comments created here will be created in the context of that merge request.
...@@ -15,8 +15,8 @@ install: ...@@ -15,8 +15,8 @@ install:
untracked: true untracked: true
expire_in: 60 mins expire_in: 60 mins
paths: paths:
- .npm/ - client/.npm/
- node_modules/ - client/node_modules/
build: build:
stage: build stage: build
...@@ -25,7 +25,7 @@ build: ...@@ -25,7 +25,7 @@ build:
- CI=false npm run build - CI=false npm run build
artifacts: artifacts:
paths: paths:
- build - client/build
expire_in: 60 mins expire_in: 60 mins
dependencies: dependencies:
- install - install
...@@ -33,6 +33,7 @@ build: ...@@ -33,6 +33,7 @@ build:
linting: linting:
stage: quality stage: quality
script: script:
- cd client
- npm run lint - npm run lint
dependencies: dependencies:
- install - install
...@@ -40,21 +41,9 @@ linting: ...@@ -40,21 +41,9 @@ linting:
test:unit: test:unit:
stage: quality stage: quality
script: script:
- cd client
- npm run test:coverage - npm run test:coverage
dependencies: dependencies:
- install - install
coverage: /All files[^|]*\|[^|]*\s+([\d\.]+)/ 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