new ci --check
This commit is contained in:
parent
202f714941
commit
35c8e1c065
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue