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

View File

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

View File

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

View File

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