Update .gitlab-ci.yml file

This commit is contained in:
jastornig 2023-12-21 00:01:00 +00:00 committed by Jakob Stornig
parent 891f151f36
commit ab6ec44900

View file

@ -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