add gitlab ci
This commit is contained in:
parent
136a06ff68
commit
2b52b76ac6
32
.gitlab-ci.yml
Normal file
32
.gitlab-ci.yml
Normal file
@ -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
|
@ -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",
|
||||
|
Loading…
x
Reference in New Issue
Block a user