Select Git revision
.gitlab-ci.yml
Sigmund, Dominik authored
This GitLab CI configuration is valid.
Learn more
.gitlab-ci.yml 401 B
image: node:latest
cache:
paths:
- node_modules/
- docs/
stages:
- test
- publish
test:
stage: test
before_script:
- npm install
- npm install -g jest
script:
- jest
artifacts:
paths:
- docs/test-report.html
- docs/coverage/lcov.info
publish:
only:
refs:
- tags
stage: publish
script:
- npm install
- npm publish --verbose