update npm lint
This commit is contained in:
parent
113bceafc2
commit
e9c267c8ed
2 changed files with 4 additions and 4 deletions
|
|
@ -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:
|
||||
|
|
|
|||
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue