From d0bc40c176f76a9dc90d130cd124d76835ae86ee Mon Sep 17 00:00:00 2001 From: Andreas <andreksv@ntnu.no> Date: Fri, 26 Apr 2024 13:15:19 +0200 Subject: [PATCH] test/Update .gitlab-ci.yml --- .gitlab-ci.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 73dc1fa..2882eb7 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -42,7 +42,14 @@ build_project: vitest_unit-tests: stage: test script: + - npm ci - npm run test:unit + cache: + key: ${CI_COMMIT_REF_SLUG} + paths: + - node_modules/ + policy: pull + -- GitLab