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
|
||||
script:
|
||||
- npm install
|
||||
- npm run test
|
||||
- npm run test:unit
|
||||
rules:
|
||||
- if: '$CI_MERGE_REQUEST_TARGET_BRANCH_NAME == $CI_DEFAULT_BRANCH || $CI_COMMIT_MESSAGE =~ /--check/ || $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH'
|
||||
when: always
|
||||
|
||||
Reference in New Issue
Block a user