Compare commits
4 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 545896821d | |||
| c7516458bd | |||
| c2f92e63c5 | |||
| d4116aefdb |
@@ -87,7 +87,7 @@ testSTABLE:
|
|||||||
release:
|
release:
|
||||||
stage: release
|
stage: release
|
||||||
script:
|
script:
|
||||||
- npmci node install stable
|
- npmci node install lts
|
||||||
- npmci npm prepare
|
- npmci npm prepare
|
||||||
- npmci npm publish
|
- npmci npm publish
|
||||||
only:
|
only:
|
||||||
|
|||||||
@@ -1,5 +0,0 @@
|
|||||||
pages/
|
|
||||||
coverage/
|
|
||||||
test/
|
|
||||||
node_modules/
|
|
||||||
config.json
|
|
||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@shipzone/npmci",
|
"name": "@shipzone/npmci",
|
||||||
"version": "3.0.36",
|
"version": "3.0.38",
|
||||||
"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",
|
||||||
|
|||||||
@@ -66,13 +66,18 @@ let publish = async () => {
|
|||||||
npmAccessCliString = `--access=${config.npmAccessLevel}`;
|
npmAccessCliString = `--access=${config.npmAccessLevel}`;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// -> preparing
|
||||||
|
plugins.beautylog.log(`noe preparing environment:`);
|
||||||
|
prepare();
|
||||||
|
await bash(`npm install -g npm`);
|
||||||
|
await bash(`npm -v`);
|
||||||
|
|
||||||
// -> build it
|
// -> build it
|
||||||
await bash(`yarn install`);
|
await bash(`yarn install`);
|
||||||
await bash(`yarn run build`);
|
await bash(`yarn run build`);
|
||||||
await bash(`rm -r node_modules`);
|
|
||||||
|
|
||||||
// -> publish it
|
// -> publish it
|
||||||
plugins.beautylog.log(`now invking npm to publish the package!`);
|
plugins.beautylog.log(`now invoking npm to publish the package!`);
|
||||||
await bash(`npm publish ${npmAccessCliString}`);
|
await bash(`npm publish ${npmAccessCliString}`);
|
||||||
plugins.beautylog.success(`Package was successfully published!`);
|
plugins.beautylog.success(`Package was successfully published!`);
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user