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