new ci --check

This commit is contained in:
Gsk54 2023-01-10 10:30:18 +01:00
parent 202f714941
commit 35c8e1c065
1 changed files with 1 additions and 1 deletions

View File

@ -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