Browse Source

set install-command: yarn --production

Yuki Takei 3 years ago
parent
commit
4d67293360
1 changed files with 1 additions and 4 deletions
  1. 1 4
      .github/workflows/reusable-app-prod.yml

+ 1 - 4
.github/workflows/reusable-app-prod.yml

@@ -263,10 +263,6 @@ jobs:
         restore-keys: |
         restore-keys: |
           node_modules-app-launch-prod-${{ runner.OS }}-node${{ inputs.node-version }}-
           node_modules-app-launch-prod-${{ runner.OS }}-node${{ inputs.node-version }}-
 
 
-    - name: Install dependencies
-      run: |
-        yarn --production
-
     - name: Cache/Restore Cypress files
     - name: Cache/Restore Cypress files
       uses: actions/cache@v3
       uses: actions/cache@v3
       with:
       with:
@@ -314,6 +310,7 @@ jobs:
         browser: chrome
         browser: chrome
         working-directory: ./apps/app
         working-directory: ./apps/app
         spec: '${{ steps.determine-spec-exp.outputs.value }}'
         spec: '${{ steps.determine-spec-exp.outputs.value }}'
+        install-command: yarn --production
         start: yarn server
         start: yarn server
         wait-on: 'http://localhost:3000'
         wait-on: 'http://localhost:3000'
         config: video=${{ inputs.cypress-config-video }}
         config: video=${{ inputs.cypress-config-video }}