Olivier Massot преди 4 години
родител
ревизия
b3ab835555
променени са 1 файла, в които са добавени 4 реда и са изтрити 1 реда
  1. 4 1
      .gitlab-ci.yml

+ 4 - 1
.gitlab-ci.yml

@@ -25,12 +25,12 @@ install:
     - yarn install --dev
     - npx cypress cache path
     - npx cypress cache list
-    - yarn ci & npx wait-on http://localhost:3004
 
 chrome:
   image: cypress/browsers:node14.17.0-chrome88-ff89
   stage: test
   script:
+    - yarn ci & npx wait-on http://localhost:3004
     - yarn cypress:run --browser chrome
   artifacts:
     when: always
@@ -43,6 +43,7 @@ chrome-mobile:
   image: cypress/browsers:node14.17.0-chrome88-ff89
   stage: test
   script:
+    - yarn ci & npx wait-on http://localhost:3004
     - yarn cypress:run --browser chrome --config "viewportWidth=375,viewportHeight=667"
   artifacts:
     when: always
@@ -55,6 +56,7 @@ firefox:
   image: cypress/browsers:node14.17.0-chrome88-ff89
   stage: test
   script:
+    - yarn ci & npx wait-on http://localhost:3004
     - yarn cypress:run --browser firefox
   artifacts:
     when: always
@@ -67,6 +69,7 @@ firefox-mobile:
   image: cypress/browsers:node14.17.0-chrome88-ff89
   stage: test
   script:
+    - yarn ci & npx wait-on http://localhost:3004
     - yarn cypress:run --browser firefox --config "viewportWidth=375,viewportHeight=667"
   artifacts:
     when: always