Compare commits
5 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| e92827de57 | |||
| 2782a242be | |||
| eef63f6b38 | |||
| ce9f3871b4 | |||
| 3e9a62e4c9 |
@@ -7,9 +7,7 @@ stages:
|
|||||||
testLTS:
|
testLTS:
|
||||||
stage: test
|
stage: test
|
||||||
script:
|
script:
|
||||||
- npmci install 4
|
- npmci test lts
|
||||||
- npm install
|
|
||||||
- npm test
|
|
||||||
tags:
|
tags:
|
||||||
- docker
|
- docker
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "npmci",
|
"name": "npmci",
|
||||||
"version": "1.0.6",
|
"version": "1.0.9",
|
||||||
"description": "",
|
"description": "",
|
||||||
"main": "dist/index.js",
|
"main": "dist/index.js",
|
||||||
"bin": {
|
"bin": {
|
||||||
|
|||||||
@@ -8,8 +8,9 @@ let npmrcFileString = npmrcPrefix + npmToken;
|
|||||||
|
|
||||||
export let publish = () => {
|
export let publish = () => {
|
||||||
let done = plugins.q.defer();
|
let done = plugins.q.defer();
|
||||||
|
plugins.beautylog.ok("Tests passed, now publishing to npm!");
|
||||||
plugins.smartfile.memory.toFs(npmrcFileString,{fileName:".npmrc",filePath:"/root/"});
|
plugins.smartfile.memory.toFs(npmrcFileString,{fileName:".npmrc",filePath:"/root/"});
|
||||||
plugins.shelljs.exec("npm publish");
|
plugins.shelljs.exec("npm publish");
|
||||||
|
plugins.beautylog.ok("Done!")
|
||||||
return done.promise;
|
return done.promise;
|
||||||
};
|
};
|
||||||
Reference in New Issue
Block a user