OpenMediaCenter/.gitlab-ci.yml
2020-06-09 21:54:52 +02:00

35 lines
444 B
YAML

image: node:latest
stages:
- test
- coverage
- build
cache:
paths:
- node_modules/
test:
stage: test
script:
- npm install
- CI=true npm run test
artifacts:
reports:
junit:
- ./junit.xml
coverage:
stage: coverage
script:
- CI=true npm run coverage
artifacts:
reports:
cobertura:
- ./coverage/cobertura-coverage.xml
build:
stage: build
script:
- npm run build