diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000..a2af7c9 --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,40 @@ +image: hosttoday/ht-docker-node:latest + +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 + +pages: + stage: page + script: + - mkdir public + - npmci npmpage + artifacts: + paths: + - public + only: + - tags \ No newline at end of file