image: hosttoday/ht-docker-node
stages:
- test
- release
variables:
LTS: "4"
STABLE: "stable"
testLTS:
stage: test
script:
- nvm install $LTS
- npm test
tags:
- docker
testSTABLE:
- nvm install $STABLE
release:
stage: release
- npm -v
only:
- master