From 6895562d9eb3d933c0b2aca7bc694836aa1e17e1 Mon Sep 17 00:00:00 2001 From: Pritimay Sarkar Date: Thu, 11 Jan 2024 05:36:44 +0000 Subject: [PATCH] Update .gitlab-ci.yml file --- .gitlab-ci.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 .gitlab-ci.yml diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000..e5c8222 --- /dev/null +++ b/.gitlab-ci.yml @@ -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 \ No newline at end of file