Ver Fonte

update CI

Olivier Massot há 4 anos atrás
pai
commit
808fbf4f77
2 ficheiros alterados com 5 adições e 5 exclusões
  1. 4 4
      .gitlab-ci.yml
  2. 1 1
      package.json

+ 4 - 4
.gitlab-ci.yml

@@ -31,25 +31,25 @@ chrome:
   stage: test
   script:
     - yarn ci & npx wait-on http://localhost:3004
-    - yarn cypress:silent --record --browser chrome --group "Chrome"
+    - yarn cypress:run --record --parallel --browser chrome --group "Chrome"
 
 chrome-mobile:
   image: cypress/browsers:node14.17.0-chrome88-ff89
   stage: test
   script:
     - yarn ci & npx wait-on http://localhost:3004
-    - yarn cypress:silent --record --browser chrome --group "Chrome - Mobile" --config "viewportWidth=375,viewportHeight=667"
+    - yarn cypress:run --record --parallel --browser chrome --group "Chrome - Mobile" --config "viewportWidth=375,viewportHeight=667"
 
 firefox:
   image: cypress/browsers:node14.17.0-chrome88-ff89
   stage: test
   script:
     - yarn ci & npx wait-on http://localhost:3004
-    - yarn cypress:silent --record --browser firefox --group "Firefox"
+    - yarn cypress:run --record --parallel --browser firefox --group "Firefox"
 
 firefox-mobile:
   image: cypress/browsers:node14.17.0-chrome88-ff89
   stage: test
   script:
     - yarn ci & npx wait-on http://localhost:3004
-    - yarn cypress:silent --record --browser firefox --group "Firefox - Mobile" --config "viewportWidth=375,viewportHeight=667"
+    - yarn cypress:run --record --parallel --browser firefox --group "Firefox - Mobile" --config "viewportWidth=375,viewportHeight=667"

+ 1 - 1
package.json

@@ -12,7 +12,7 @@
     "lint": "yarn lint:js",
     "test": "jest",
     "cypress": "node_modules/.bin/cypress open",
-    "cypress:silent": "node_modules/.bin/cypress run"
+    "cypress:run": "node_modules/.bin/cypress run"
   },
   "dependencies": {
     "@fortawesome/fontawesome-svg-core": "^1.2.36",