Update .gitlab-ci.yml file

This commit is contained in:
jastornig 2023-12-20 23:40:19 +00:00 committed by Jakob Stornig
parent 14d9755b93
commit 7a2cecc96c

View file

@ -27,6 +27,7 @@ lint_job:
image: node image: node
script: script:
- npm install - npm install
- npm i --save-dev @types/url-parse
- npx tsc - npx tsc
cache: cache:
policy: pull-push policy: pull-push
@ -68,7 +69,7 @@ release_job:
needs: needs:
- job: build_job - job: build_job
rules: rules:
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && $CI_PIPELINE_SOURCE == "push" - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && $CI_PIPELINE_SOURCE == "push"
when: on_success when: on_success
release: release:
tag_name: 'v0.$CI_PIPELINE_IID' tag_name: 'v0.$CI_PIPELINE_IID'