From 25cd326577edb481ec47d42bb66d39dfb03709cd Mon Sep 17 00:00:00 2001 From: Andreas <andreksv@ntnu.no> Date: Fri, 26 Apr 2024 09:40:32 +0200 Subject: [PATCH] feat/Updated package-lock.json --- .gitlab-ci.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 47cc8bf..c2ee99a 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -8,6 +8,7 @@ cache: key: "${CI_COMMIT_REF_SLUG}" paths: - node_modules/ + - build/ install_dependencies: stage: install_dependencies @@ -16,11 +17,10 @@ install_dependencies: build_project: stage: build_project - before_script: - - ls -l node_modules/.bin # list files to debug - - whoami # confirm we're running as root - - chmod +x node_modules/.bin/* # ensure scripts are executable script: - npm run build - after_script: - - ls -l # list files in current directory to debug + cache: + key: "${CI_COMMIT_REF_SLUG}" + paths: + - node_modules/ + policy: pull -- GitLab