Răsfoiți Sursa

chore(ci): add windows cache

defclass 4 ani în urmă
părinte
comite
ef9aed0d5b
1 a modificat fișierele cu 7 adăugiri și 0 ștergeri
  1. 7 0
      .github/workflows/build-desktop-release.yml

+ 7 - 0
.github/workflows/build-desktop-release.yml

@@ -124,6 +124,13 @@ jobs:
         with:
         with:
           node-version: 14
           node-version: 14
 
 
+      - name: Cache Node Modules
+        uses: actions/cache@v2
+        with:
+          path: |
+            **/node_modules
+          key: ${{ runner.os }}-${{ hashFiles('**/package.json') }}
+
       - name: Build/Release Electron app
       - name: Build/Release Electron app
         run: yarn install --frozen-lockfile && yarn electron:make
         run: yarn install --frozen-lockfile && yarn electron:make
         working-directory: ./static
         working-directory: ./static