From 22c31eb1bc19334f052295f5ed555e459d751b26 Mon Sep 17 00:00:00 2001
From: Piotr Gawron <p.gawron@atcomp.pl>
Date: Thu, 25 Apr 2024 13:47:05 +0200
Subject: [PATCH] ci must have acess to git

---
 .gitlab-ci.yml | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index e7abb327..a2f33322 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -12,7 +12,7 @@ lint:commit:
   stage: lint
   allow_failure: true
   before_script:
-    - apk add --no-cache npm
+    - apk add --no-cache npm git
     - npm install
   script:
     - echo "${CI_COMMIT_MESSAGE}" | npx commitlint
@@ -21,7 +21,7 @@ linter:
   image: node:16.16.0-alpine
   stage: lint
   before_script:
-    - apk add --no-cache npm
+    - apk add --no-cache npm git
     - npm install
   script:
     - npm run lint:ts
@@ -34,7 +34,7 @@ prettier:
   image: node:16.16.0-alpine
   stage: prettier
   before_script:
-    - apk add --no-cache npm
+    - apk add --no-cache npm git
     - npm install
   script:
     - npm run prettier:ci
@@ -48,7 +48,7 @@ jest:
   stage: test
   coverage: /All files[^|]*\|[^|]*\s+([\d\.]+)/
   before_script:
-    - apk add --no-cache npm
+    - apk add --no-cache npm git
     - npm install
   script:
     - npm run test:ci
-- 
GitLab