Compare commits
8 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 68aa8d1302 | |||
| cbfe992ffc | |||
| 6614b1c3d3 | |||
| 20fd6a8d7b | |||
| 81eb0e252e | |||
| ac804886fa | |||
| 36cce95f1d | |||
| 0e4467e324 |
@@ -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
|
||||||
|
|||||||
@@ -10,7 +10,8 @@
|
|||||||
],
|
],
|
||||||
"npmGlobalTools": [
|
"npmGlobalTools": [
|
||||||
"npmts"
|
"npmts"
|
||||||
]
|
],
|
||||||
|
"npmAccessLevel": "public"
|
||||||
},
|
},
|
||||||
"npmdocker":{
|
"npmdocker":{
|
||||||
"baseImage":"hosttoday/ht-docker-node:npmci",
|
"baseImage":"hosttoday/ht-docker-node:npmci",
|
||||||
|
|||||||
@@ -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",
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user