Compare commits

...

8 Commits

Author SHA1 Message Date
68aa8d1302 3.0.31 2018-04-29 17:37:06 +02:00
cbfe992ffc update 2018-04-29 17:37:04 +02:00
6614b1c3d3 3.0.30 2018-04-29 16:37:38 +02:00
20fd6a8d7b update gitlab-ci 2018-04-29 16:37:33 +02:00
81eb0e252e 3.0.29 2018-04-29 16:32:37 +02:00
ac804886fa update publish step 2018-04-29 16:32:29 +02:00
36cce95f1d 3.0.28 2018-04-29 16:21:05 +02:00
0e4467e324 add access level for npm 2018-04-29 16:21:00 +02:00
4 changed files with 11 additions and 3 deletions

View File

@@ -6,6 +6,10 @@ cache:
- .yarn/
key: "$CI_BUILD_STAGE"
before_script:
- yarn global add npmci@3.0.29
- npmci docker login
stages:
- security
- test
@@ -53,7 +57,7 @@ testLTS:
testSTABLE:
stage: test
script:
- npmci node install lts
- npmci node install stable
- npmci npm install
- npmci npm test
coverage: /\d+.?\d+?\%\s*coverage/
@@ -64,6 +68,8 @@ release:
stage: release
script:
- npmci npm prepare
- npmci command npm install
- npmci command npmts
- npmci npm publish
only:
- tags

View File

@@ -10,7 +10,8 @@
],
"npmGlobalTools": [
"npmts"
]
],
"npmAccessLevel": "public"
},
"npmdocker":{
"baseImage":"hosttoday/ht-docker-node:npmci",

View File

@@ -1,6 +1,6 @@
{
"name": "@shipzone/npmci",
"version": "3.0.27",
"version": "3.0.31",
"description": "node and docker in gitlab ci on steroids",
"main": "dist/index.js",
"typings": "dist/index.d.ts",

View File

@@ -67,6 +67,7 @@ let publish = async () => {
}
// -> build it
await bash(`yarn install`);
await bash(`yarn run build`);
// -> make sure npm is authenticated