diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000..a28dec0 --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,32 @@ +image: hosttoday/ht-docker-node + +stages: +- test +- release + +testLTS: + stage: test + script: + - npmci install 4 + - npm install + - npm test + tags: + - docker + +testSTABLE: + stage: test + script: + - npmci install stable + - npm install + - npm test + tags: + - docker + +release: + stage: release + script: + - npm -v + only: + - tags + tags: + - docker \ No newline at end of file diff --git a/package.json b/package.json index ee3a54f..44545bc 100644 --- a/package.json +++ b/package.json @@ -9,7 +9,7 @@ }, "repository": { "type": "git", - "url": "git+https://github.com/pushrocks/smartstring.git" + "url": "git+https://gitlab.com/pushrocks/smartstring.git" }, "keywords": [ "regex", @@ -18,9 +18,9 @@ "author": "Lossless GmbH", "license": "MIT", "bugs": { - "url": "https://github.com/pushrocks/smartstring/issues" + "url": "https://gitlab.com/pushrocks/smartstring/issues" }, - "homepage": "https://github.com/pushrocks/smartstring#readme", + "homepage": "https://gitlab.com/pushrocks/smartstring#readme", "devDependencies": { "npmts": "^5.1.13", "should": "^8.4.0",