From 2aa4c9940d2510ba56647b74583f68bd333d6e5e Mon Sep 17 00:00:00 2001
From: ibon eskudero <ibon.eskudero@tecnalia.com>
Date: Fri, 5 Apr 2024 13:25:18 +0200
Subject: [PATCH] test git checkout

---
 npm-packages/artifactory_built.yml | 3 ---
 npm-packages/build_typescript.yml  | 5 +----
 2 files changed, 1 insertion(+), 7 deletions(-)

diff --git a/npm-packages/artifactory_built.yml b/npm-packages/artifactory_built.yml
index 170e4b4..40a103d 100644
--- a/npm-packages/artifactory_built.yml
+++ b/npm-packages/artifactory_built.yml
@@ -7,9 +7,6 @@ artifactory:
   #needed to restore the artifats from the build stage
   dependencies:
     - build
-  # avoid restoring git repository. We assume that the build process stores dist, package.json & .npmignore files
-  variables:
-    GIT_STRATEGY: none
   script:
     # connect job from artifactory_connect.yml
     - !reference [.connect, script]
diff --git a/npm-packages/build_typescript.yml b/npm-packages/build_typescript.yml
index a3927a3..4b08333 100644
--- a/npm-packages/build_typescript.yml
+++ b/npm-packages/build_typescript.yml
@@ -6,11 +6,8 @@ build:
     image: $ACR_URL/node:18.12.0
     # cache build for the next jobs
     artifacts:
+      untracked: true
       expire_in: 1 day
-      paths:
-        - dist/
-        - package.json
-        - .npmignore
     script:
       # connect job from artifactory_connect.yml
       - !reference [.connect, script]
-- 
GitLab