[flathub-legacy-web] Run "npm ci" as part of pages job



commit 44fa1df5c5957f3dea5df59ecb6ed8fb07d31c0e
Author: Bartłomiej Piotrowski <bpiotrowski gnome org>
Date:   Tue Jun 7 12:29:40 2022 +0200

    Run "npm ci" as part of pages job

 .gitlab-ci.yml | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 09da0fb..89f6e1f 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -5,13 +5,11 @@ cache:
   paths:
     - .npm
 
-before_script:
-  - npm ci --cache .npm --prefer-offline
-
 pages:
   script:
     - git clone --depth=1 --single-branch https://github.com/flathub/linux-store-frontend/
     - cd linux-store-frontend
+    - npm ci --cache .npm --prefer-offline
     - npm run build:prod
   artifacts:
     paths:


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]