Skip to content
Snippets Groups Projects

Issue/2 test front end

Merged Albin Henriksson requested to merge issue/2-test-front-end into dev
1 file
+ 5
16
Compare changes
  • Side-by-side
  • Inline
  • ea2b38db
    #2: Changing folder on each script and artifact path · ea2b38db
    Albin Henriksson authored
+ 5
16
@@ -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
Loading