update npm lint

This commit is contained in:
Vincent BRIDIER 2023-05-26 12:13:05 +00:00
parent 113bceafc2
commit e9c267c8ed
2 changed files with 4 additions and 4 deletions

View file

@ -2,8 +2,8 @@ eslint:
stage: lint
image: node:18
before_script:
- echo @ldc-web:registry=https://${CI_SERVER_HOST}/api/v4/packages/npm/ >> .npmrc
- echo //${CI_SERVER_HOST}/api/v4/packages/npm/:_authToken=${CI_JOB_TOKEN} >> .npmrc
- 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_JOB_TOKEN}"
- npm install
cache:
paths:

View file

@ -2,8 +2,8 @@ stylelint:
stage: lint
image: node:18
before_script:
- echo @ldc-web:registry=https://${CI_SERVER_HOST}/api/v4/packages/npm/ >> .npmrc
- echo //${CI_SERVER_HOST}/api/v4/packages/npm/:_authToken=${CI_JOB_TOKEN} >> .npmrc
- 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_JOB_TOKEN}"
- npm install
cache:
paths: