From 1594e75961462a56b7310e03be18abb4f9afe5dc Mon Sep 17 00:00:00 2001 From: Jeremy Munsch Date: Thu, 7 May 2026 15:26:04 +0200 Subject: [PATCH] ci: fix uswil npm registry --- build/npm.yml | 2 ++ lint/eslint.yml | 3 ++- lint/stylelint.yml | 5 +++-- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/build/npm.yml b/build/npm.yml index a536d82..b946a4a 100644 --- a/build/npm.yml +++ b/build/npm.yml @@ -4,6 +4,8 @@ npm-build: before_script: - npm config set @ldc-web:registry https://${CI_SERVER_HOST}/api/v4/packages/npm/ - npm config set -- '//${CI_SERVER_HOST}/api/v4/packages/npm/:_authToken' "${CI_DEPLOY_PASSWORD}" + - npm config set @uwil:registry=https://lab.s-web.fr/api/v4/groups/ldc-web/-/packages/npm/ + - npm config set -- '//${CI_SERVER_HOST}/api/v4/groups/ldc-web/-/packages/npm/:_authToken' "${CI_DEPLOY_PASSWORD}" - npm install cache: paths: diff --git a/lint/eslint.yml b/lint/eslint.yml index 85106f2..ee12649 100644 --- a/lint/eslint.yml +++ b/lint/eslint.yml @@ -3,8 +3,9 @@ eslint: image: node:20 before_script: - npm config set @ldc-web:registry https://${CI_SERVER_HOST}/api/v4/packages/npm/ - - npm config set @uwil:registry https://${CI_SERVER_HOST}/api/v4/packages/npm/ - npm config set -- '//${CI_SERVER_HOST}/api/v4/packages/npm/:_authToken' "${CI_DEPLOY_PASSWORD}" + - npm config set @uwil:registry=https://lab.s-web.fr/api/v4/groups/ldc-web/-/packages/npm/ + - npm config set -- '//${CI_SERVER_HOST}/api/v4/groups/ldc-web/-/packages/npm/:_authToken' "${CI_DEPLOY_PASSWORD}" - npm install cache: paths: diff --git a/lint/stylelint.yml b/lint/stylelint.yml index c6e2e11..e892678 100644 --- a/lint/stylelint.yml +++ b/lint/stylelint.yml @@ -3,8 +3,9 @@ stylelint: image: node:18 before_script: - npm config set @ldc-web:registry https://${CI_SERVER_HOST}/api/v4/packages/npm/ - - npm config set @uwil:registry https://${CI_SERVER_HOST}/api/v4/packages/npm/ - npm config set -- '//${CI_SERVER_HOST}/api/v4/packages/npm/:_authToken' "${CI_DEPLOY_PASSWORD}" + - npm config set @uwil:registry=https://lab.s-web.fr/api/v4/groups/ldc-web/-/packages/npm/ + - npm config set -- '//${CI_SERVER_HOST}/api/v4/groups/ldc-web/-/packages/npm/:_authToken' "${CI_DEPLOY_PASSWORD}" - npm install cache: paths: @@ -19,4 +20,4 @@ stylelint: allow_failure: false rules: - if: $CI_PIPELINE_SOURCE == "merge_request_event" - - if: $CI_COMMIT_BRANCH == "develop" \ No newline at end of file + - if: $CI_COMMIT_BRANCH == "develop"