tscoverage/.gitlab-ci.yml

43 lines
525 B
YAML

image: hosttoday/ht-docker-node
stages:
- test
- release
- page
testLTS:
stage: test
script:
- npmci test lts
tags:
- docker
testSTABLE:
stage: test
script:
- npmci test stable
tags:
- docker
release:
stage: release
script:
- npmci publish
only:
- tags
tags:
- docker
page:
stage: page
script:
- npmci test lts
- mkdir .public
- cp -r coverage/ .public
- cp -r docs/ .public
- mv .public public
artifacts:
paths:
- public
only:
- master