Update .gitlab-ci.yml file
This commit is contained in:
parent
14d9755b93
commit
7a2cecc96c
1 changed files with 2 additions and 1 deletions
|
|
@ -27,6 +27,7 @@ lint_job:
|
|||
image: node
|
||||
script:
|
||||
- npm install
|
||||
- npm i --save-dev @types/url-parse
|
||||
- npx tsc
|
||||
cache:
|
||||
policy: pull-push
|
||||
|
|
@ -68,7 +69,7 @@ release_job:
|
|||
needs:
|
||||
- job: build_job
|
||||
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
|
||||
release:
|
||||
tag_name: 'v0.$CI_PIPELINE_IID'
|
||||
|
|
|
|||
Reference in a new issue