Browse Source

cache cypress bin

Yuki Takei 4 years ago
parent
commit
7dc566f178
1 changed files with 3 additions and 2 deletions
  1. 3 2
      .github/workflows/ci-app-prod.yml

+ 3 - 2
.github/workflows/ci-app-prod.yml

@@ -206,9 +206,10 @@ jobs:
       with:
         path: |
           **/node_modules
-        key: node_modules-${{ runner.OS }}-node${{ matrix.node-version }}-${{ hashFiles('**/yarn.lock') }}
+          ~/.cache/Cypress
+        key: node_modules-and-cypress-bin-${{ runner.OS }}-node${{ matrix.node-version }}-${{ hashFiles('**/yarn.lock') }}
         restore-keys: |
-          node_modules-${{ runner.OS }}-node${{ matrix.node-version }}-
+          node_modules-and-cypress-bin-${{ runner.OS }}-node${{ matrix.node-version }}
 
     - name: lerna bootstrap
       run: |