add test ci script

This commit is contained in:
Pritimay Sarkar
2024-01-21 11:38:34 +05:30
parent d327fecf8c
commit b69791c246
8 changed files with 10336 additions and 3226 deletions

18
.gitlab-ci.yml Normal file
View File

@@ -0,0 +1,18 @@
stages:
- test
unit-test:
image: node:latest
stage: test
before_script:
- npm install
script:
- npm run test-ci
coverage: /All files[^|]*\|[^|]*\s+([\d\.]+)/
artifacts:
paths:
- coverage/
when: always
reports:
junit:
- junit.xml