test ci --check
This commit is contained in:
parent
6ec66bee1e
commit
ad4a31645f
|
@ -7,15 +7,15 @@ stages:
|
|||
# TEST STAGE #
|
||||
##############
|
||||
|
||||
unit-test:
|
||||
stage: test:unit
|
||||
image: node:18-alpine3.16
|
||||
script:
|
||||
- npm install
|
||||
- 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
|
||||
# unit-test:
|
||||
# stage: test
|
||||
# image: node:18-alpine3.16
|
||||
# script:
|
||||
# - npm install
|
||||
# - 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
|
||||
|
||||
integration-test:
|
||||
stage: test
|
||||
|
|
Loading…
Reference in New Issue