# gitzone standard
image: hosttoday/ht-docker-node:npmci
cache:
paths:
- .yarn/
key: "$CI_BUILD_STAGE"
stages:
- test
- release
- trigger
- pages
testLEGACY:
stage: test
script:
- npmci test legacy
coverage: /\d+.?\d+?\%\s*coverage/
tags:
- docker
allow_failure: true
testLTS:
- npmci test lts
testSTABLE:
- npmci test stable
release:
stage: release
- npmci publish
only:
- tags
trigger:
stage: trigger
- npmci trigger
pages:
stage: pages
- npmci command yarn global add npmpage
- npmci command npmpage
artifacts:
expire_in: 1 week
- public