From 9d34dcd671ac5e0231c1bcca800d4b2ed8cbf0a3 Mon Sep 17 00:00:00 2001 From: Andreas Kluge Svendsrud <andreas.k.svendsrud@ntnu.no> Date: Fri, 26 Apr 2024 10:31:57 +0200 Subject: [PATCH] Update .gitlab-ci.yml by adding docs --- .gitlab-ci.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index d8d39af..7b256e1 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,7 +1,7 @@ -image: node:alpine +image: node:alpine # Much smaller than other variants, faster and more resource effective cache: - key: "${CI_COMMIT_REF_SLUG}" + key: "${CI_COMMIT_REF_SLUG}" # Branch-specific cache keys to have separate caches across branches. paths: - node_modules/ - build/ @@ -15,10 +15,10 @@ install_dependencies: script: - npm ci cache: - key: ${CI_COMMIT_REF_SLUG} - paths: - - node_modules/ - policy: push + key: ${CI_COMMIT_REF_SLUG} + paths: + - node_modules/ + policy: push build_project: stage: build -- GitLab