From 44d9782487717bcf21b86cc2cd8b5705d7784320 Mon Sep 17 00:00:00 2001 From: Phil Kunz Date: Mon, 30 May 2016 05:58:56 +0200 Subject: [PATCH] update project to use gitlab-ci --- .gitlab-ci.yml | 28 ++++++++++++++++++++++++++++ package.json | 6 +++--- 2 files changed, 31 insertions(+), 3 deletions(-) create mode 100644 .gitlab-ci.yml diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000..6dee704 --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,28 @@ +image: hosttoday/ht-docker-node:latest + +stages: +- test +- release + +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 \ No newline at end of file diff --git a/package.json b/package.json index 84c3852..e98d335 100644 --- a/package.json +++ b/package.json @@ -9,7 +9,7 @@ }, "repository": { "type": "git", - "url": "git+https://github.com/pushrocks/early.git" + "url": "git+https://gitlab.com/pushrocks/early.git" }, "keywords": [ "preloader" @@ -17,9 +17,9 @@ "author": "Lossless GmbH", "license": "MIT", "bugs": { - "url": "https://github.com/pushrocks/early/issues" + "url": "https://gitlab.com/pushrocks/early/issues" }, - "homepage": "https://github.com/pushrocks/early#readme", + "homepage": "https://gitlab.com/pushrocks/early#readme", "devDependencies": { "npmts": "^5.1.9" },