From 9fadd091b342a8280a2932bebe6fd4bd7ae17bce Mon Sep 17 00:00:00 2001 From: 0zd0 <67220210+0zd0@users.noreply.github.com> Date: Fri, 14 Jun 2024 20:36:11 +0300 Subject: [PATCH] fix/deploy cache --- .github/workflows/deploy.yml | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 9f0650ce..d175cc49 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -39,9 +39,7 @@ jobs: - name: Cache npm dependencies uses: actions/cache@v4 with: - path: | - ~/.npm - node_modules + path: node_modules key: "${{ runner.os }}-node-${{ hashFiles('package-lock.json') }}" restore-keys: | ${{ runner.os }}-node- @@ -49,9 +47,7 @@ jobs: - name: Cache vite dependencies uses: actions/cache@v4 with: - path: | - ~/.npm - vite/node_modules + path: vite/node_modules key: "${{ runner.os }}-vite-${{ hashFiles('vite/bun.lockb') }}" restore-keys: | ${{ runner.os }}-vite-