From 0dc0dc9061815a325af4dc21e937714a31146c4a Mon Sep 17 00:00:00 2001 From: Andreas <andreksv@ntnu.no> Date: Thu, 18 Apr 2024 09:49:44 +0200 Subject: [PATCH] test/Update .gitlab-ci.yml --- .gitlab-ci.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 6f9a7ee..3ac0515 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,8 +1,8 @@ image: node:alpine # Much smaller than other variants, faster and more resource effective stages: - - install - - build + - install_dependencies + - build_project cache: key: "${CI_COMMIT_REF_SLUG}" # Branch-specific cache keys to have separate caches across branches. @@ -10,11 +10,11 @@ cache: - node_modules/ install_dependencies: - stage: install + stage: install_dependencies script: - - npm install + - npm ci build_project: - stage: build + stage: build_project script: - npm run build -- GitLab