Merge branch 'fix-gl-npm-registry-config' into 'main'
Fixes #8 ci: fix uswil npm registry Closes #8 See merge request ldc-web/shared-ci!20
This commit is contained in:
commit
1dae191892
3 changed files with 7 additions and 3 deletions
|
|
@ -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:
|
||||
|
|
|
|||
|
|
@ -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:
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
- if: $CI_COMMIT_BRANCH == "develop"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue