瀏覽代碼

cache cypress bin

Yuki Takei 4 年之前
父節點
當前提交
7dc566f178
共有 1 個文件被更改,包括 3 次插入2 次删除
  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: |