From a6f853914930b334159a2e9140183055d9700a2e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Carles=20Barrobe=CC=81s?= <carles@barrobes.com>
Date: Tue, 23 Jan 2024 16:16:24 +0100
Subject: [PATCH] Run pipeline build step for all branches

---
 .gitlab-ci.yml    | 6 +++---
 package-lock.json | 4 ++--
 2 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 2a16c9d..8b44b13 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -124,6 +124,9 @@ build:env:
     # Show version
     - npm version
   script:
+    # This install is useful when adding dependencies in a branch (MR), those
+    # will not be in the base build image from the develop branch
+    - npm install --no-audit
     # Build
     - npm run build:${BUILD_ENVIRONMENT}
   after_script:
@@ -139,10 +142,7 @@ build:env:
 
 build:
   extends: .build
-  needs: ["build:env"]
   image: ${CI_BUILD_IMAGE}
-  only:
-    - develop
 
 build:feature:
   extends: .build
diff --git a/package-lock.json b/package-lock.json
index a1f2426..5558177 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -1,12 +1,12 @@
 {
   "name": "cesium",
-  "version": "2.0.0-alpha20",
+  "version": "2.0.0-alpha21",
   "lockfileVersion": 3,
   "requires": true,
   "packages": {
     "": {
       "name": "cesium",
-      "version": "2.0.0-alpha20",
+      "version": "2.0.0-alpha21",
       "license": "AGPL-3.0",
       "dependencies": {
         "@angular/animations": "^17.0.4",
-- 
GitLab