From 66b8b57f146d3f547863430c73bc84c536c3b38d Mon Sep 17 00:00:00 2001
From: Jure Ursic <jure@colab.coop>
Date: Thu, 16 Jul 2020 16:07:25 +0200
Subject: [PATCH] fix: install cypress-localstorage-commands in the right place

---
 .gitlab-ci.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index a17e7c92..eca06b28 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -23,7 +23,6 @@ build:
   stage: build
   before_script:
     - npm ci --cache .npm --prefer-offline --only=production
-    - npm i cypress-localstorage-commands
   script:
     - cp config.sample.json config.json
     - npm run build
@@ -45,6 +44,7 @@ test:e2e:
   before_script:
     # install missing dependencies
     - npm install -g sirv-cli
+    - npm install cypress-localstorage-commands
      # making sure the process is orphan
     - sirv dist --port 3000 > /dev/null 2>&1 &
   script:
-- 
GitLab