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
+ 58
0
Compare changes
  • Side-by-side
  • Inline
.gitlab-ci.yml 0 → 100644
+ 58
0
image: node:10
stages:
- install
- build
- quality
install:
stage: install
script:
- npm install
artifacts:
name: "artifacts"
untracked: true
expire_in: 60 mins
paths:
- .npm/
- node_modules/
build:
stage: build
script:
- CI=false npm run build
artifacts:
paths:
- build
expire_in: 60 mins
dependencies:
- install
linting:
stage: quality
script:
- npm run lint
dependencies:
- install
test:unit:
stage: quality
script:
- 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