Update .gitlab-ci.yml file

This commit is contained in:
jastornig 2023-12-20 23:57:53 +00:00 committed by Jakob Stornig
parent 7a2cecc96c
commit 891f151f36

View file

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