diff --git a/.circleci/config.yml b/.circleci/config.yml index 614cda0..75e9aab 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -54,7 +54,8 @@ jobs: - restore_cache: key: npm-v1-dependencies-{{ checksum "yarn.lock" }} - run: yarn test - + + #ne fonctionne mais vu en cour c'est ce que l'on attandais DATABASETest : docker: - image: cimg/node:14.15.0 # the primary container, where your job's commands are run @@ -76,4 +77,20 @@ jobs: - checkout - restore_cache: key: npm-v1-dependencies-{{ checksum "yarn.lock" }} - - run: yarn test:e2e \ No newline at end of file + - run: yarn test:e2e + + DOCJob: + docker: + - image: cimg/node:14.15.0 # the primary container, where your job's commands are run + auth: + username: $AUTH_DOCKER + password: $PSW_DOCKER # context / project UI env-var reference + steps: + - checkout + - restore_cache: + key: npm-v1-dependencies-{{ checksum "yarn.lock" }} + - run: yarn doc:build + - store_artifacts: + path: + - .yarn/docs + destination: yarn-docs \ No newline at end of file diff --git a/src/config/config.service.ts b/src/config/config.service.ts index cebb4cc..98bf6d3 100644 --- a/src/config/config.service.ts +++ b/src/config/config.service.ts @@ -37,8 +37,6 @@ export class ConfigService { private validateInput(envConfig: any): EnvConfig { const result = schema.safeParse(envConfig); - console.log(result); - if (result.success === false) { throw new Error(`Config validation error: ${result.error.toString()}`); }