mirror of
https://gitlab.com/mobicoop/v3/service/user.git
synced 2026-02-01 22:40:45 +00:00
new ci --check
This commit is contained in:
@@ -13,7 +13,7 @@ unit-test-api:
|
|||||||
image: node:18-alpine3.16
|
image: node:18-alpine3.16
|
||||||
script:
|
script:
|
||||||
- npm install
|
- npm install
|
||||||
- npm run test
|
- npm run test:unit
|
||||||
rules:
|
rules:
|
||||||
- if: '$CI_MERGE_REQUEST_TARGET_BRANCH_NAME == $CI_DEFAULT_BRANCH || $CI_COMMIT_MESSAGE =~ /--check/ || $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH'
|
- if: '$CI_MERGE_REQUEST_TARGET_BRANCH_NAME == $CI_DEFAULT_BRANCH || $CI_COMMIT_MESSAGE =~ /--check/ || $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH'
|
||||||
when: always
|
when: always
|
||||||
|
|||||||
Reference in New Issue
Block a user