diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 7b256e17811380e181adf8dce4f8126e2a2748d4..73dc1fa0ce41873fbfab17a7e852a94d29e3fc3a 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -9,6 +9,7 @@ cache: stages: - install - build + - test install_dependencies: stage: install @@ -32,3 +33,17 @@ build_project: paths: - node_modules/ policy: pull + artifacts: + name: "Build project ${CI_COMMIT_REF_NAME}-${CI_JOB_ID}" + paths: + - build/ + expire_in: 1 day + +vitest_unit-tests: + stage: test + script: + - npm run test:unit + + + +