Compare commits
8 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| bb36beb682 | |||
| 3417ca83ed | |||
| dea6264c34 | |||
| b6ca597ca5 | |||
| 1539d49426 | |||
| 51fbc906a0 | |||
| 0e3732cade | |||
| 4f968472c8 |
@@ -6,10 +6,6 @@ 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
|
||||||
@@ -67,9 +63,8 @@ testSTABLE:
|
|||||||
release:
|
release:
|
||||||
stage: release
|
stage: release
|
||||||
script:
|
script:
|
||||||
|
- npmci node install stable
|
||||||
- npmci npm prepare
|
- npmci npm prepare
|
||||||
- npmci command npm install
|
|
||||||
- npmci command npmts
|
|
||||||
- npmci npm publish
|
- npmci npm publish
|
||||||
only:
|
only:
|
||||||
- tags
|
- tags
|
||||||
|
|||||||
@@ -5,11 +5,8 @@
|
|||||||
"cli": true
|
"cli": true
|
||||||
},
|
},
|
||||||
"npmci": {
|
"npmci": {
|
||||||
"globalNpmTools": [
|
|
||||||
"npmts"
|
|
||||||
],
|
|
||||||
"npmGlobalTools": [
|
"npmGlobalTools": [
|
||||||
"npmts"
|
"@gitzone/npmts"
|
||||||
],
|
],
|
||||||
"npmAccessLevel": "public"
|
"npmAccessLevel": "public"
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@shipzone/npmci",
|
"name": "@shipzone/npmci",
|
||||||
"version": "3.0.31",
|
"version": "3.0.35",
|
||||||
"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",
|
||||||
|
|||||||
@@ -70,9 +70,6 @@ let publish = async () => {
|
|||||||
await bash(`yarn install`);
|
await bash(`yarn install`);
|
||||||
await bash(`yarn run build`);
|
await bash(`yarn run build`);
|
||||||
|
|
||||||
// -> make sure npm is authenticated
|
|
||||||
prepare();
|
|
||||||
|
|
||||||
// -> publish it
|
// -> publish it
|
||||||
await bash(`npm publish ${npmAccessCliString}`);
|
await bash(`npm publish ${npmAccessCliString}`);
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user