Update .gitlab-ci.yml file
This commit is contained in:
parent
891f151f36
commit
ab6ec44900
1 changed files with 1 additions and 0 deletions
|
|
@ -27,6 +27,7 @@ lint_job:
|
||||||
image: node
|
image: node
|
||||||
rules:
|
rules:
|
||||||
- if: $CI_PIPELINE_SOURCE == "merge_request_event"
|
- if: $CI_PIPELINE_SOURCE == "merge_request_event"
|
||||||
|
when: manual
|
||||||
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
|
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
|
||||||
script:
|
script:
|
||||||
- npm install
|
- npm install
|
||||||
|
|
|
||||||
Reference in a new issue