Przeglądaj źródła

run cypress parallel

Yuki Takei 4 lat temu
rodzic
commit
dd67ff66c0
1 zmienionych plików z 2 dodań i 1 usunięć
  1. 2 1
      .github/workflows/ci.yml

+ 2 - 1
.github/workflows/ci.yml

@@ -359,7 +359,7 @@ jobs:
       fail-fast: false
       matrix:
         node-version: [14.x]
-        containers: [1]
+        containers: ['**/1-*','**/2-*']
 
     services:
       mongodb:
@@ -404,6 +404,7 @@ jobs:
       with:
         working-directory: ./packages/app
         install-command: ${{ (steps.cache-dependencies.outputs.cache-hit == 'true' && 'yarn') || 'npx' }} lerna bootstrap
+        spec: '${{ matrix.containers }}'
         build: |
           cp config/ci/.env.local.for-ci .env.production.local
         start: yarn server