diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index a28dec0..0fec255 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -16,16 +16,14 @@ testLTS: testSTABLE: stage: test script: - - npmci install stable - - npm install - - npm test + - npmci test stable tags: - docker release: stage: release script: - - npm -v + - npmci publish only: - tags tags: diff --git a/ts/npmci.test.ts b/ts/npmci.test.ts index 9102d08..65ad356 100644 --- a/ts/npmci.test.ts +++ b/ts/npmci.test.ts @@ -5,6 +5,8 @@ export let test = (versionArg) => { let done = plugins.q.defer(); install(versionArg) .then(function(){ + plugins.beautylog.info("now installing dependencies:"); + plugins.shelljs.exec("npm install"); plugins.beautylog.info("now starting tests:"); plugins.shelljs.exec("npm test"); plugins.beautylog.success("test finished");