Update .gitlab-ci.yml file
This commit is contained in:
parent
7a2cecc96c
commit
891f151f36
1 changed files with 3 additions and 0 deletions
|
|
@ -25,6 +25,9 @@ stages:
|
||||||
lint_job:
|
lint_job:
|
||||||
stage: lint
|
stage: lint
|
||||||
image: node
|
image: node
|
||||||
|
rules:
|
||||||
|
- if: $CI_PIPELINE_SOURCE == "merge_request_event"
|
||||||
|
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
|
||||||
script:
|
script:
|
||||||
- npm install
|
- npm install
|
||||||
- npm i --save-dev @types/url-parse
|
- npm i --save-dev @types/url-parse
|
||||||
|
|
|
||||||
Reference in a new issue