diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 63b309d..8d4acf4 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,5 +1,5 @@ # gitzone ci_default -image: hosttoday/ht-docker-node:npmci +image: registry.gitlab.com/hosttoday/ht-docker-node:npmci cache: paths: @@ -49,23 +49,11 @@ testLTS: tags: - docker - notpriv - -testSTABLE: - stage: test - script: - - npmci npm prepare - - npmci node install stable - - npmci npm install - - npmci npm test - coverage: /\d+.?\d+?\%\s*coverage/ - tags: - - docker - - notpriv release: stage: release script: - - npmci node install stable + - npmci node install lts - npmci npm publish only: - tags diff --git a/package.json b/package.json index 898fec3..7732c81 100644 --- a/package.json +++ b/package.json @@ -51,4 +51,4 @@ "npmextra.json", "readme.md" ] -} +} \ No newline at end of file diff --git a/ts/smartgit.classes.gitrepo.ts b/ts/smartgit.classes.gitrepo.ts index b52dc9d..974bf2d 100644 --- a/ts/smartgit.classes.gitrepo.ts +++ b/ts/smartgit.classes.gitrepo.ts @@ -17,7 +17,7 @@ export class GitRepo { return new GitRepo(ngRespository); } - public static async createNewRepoInDir(dirArg: string): Promise { + public static async createNewRepoInDir(dirArg: string): Promise { dirArg = plugins.path.resolve(dirArg); const ngRepository = await plugins.nodegit.Repository.init(dirArg, 0); return new GitRepo(ngRepository);