From 0b01825cb231264b075804c66cc6cfc878ab4035 Mon Sep 17 00:00:00 2001 From: Marcel Klehr Date: Wed, 11 Dec 2024 10:39:53 +0100 Subject: [PATCH] fix(deploy-to-gh-pages): Update cache action --- .github/workflows/deploy-to-gh-pages.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/deploy-to-gh-pages.yml b/.github/workflows/deploy-to-gh-pages.yml index 796f9ff..90cc908 100644 --- a/.github/workflows/deploy-to-gh-pages.yml +++ b/.github/workflows/deploy-to-gh-pages.yml @@ -43,9 +43,7 @@ jobs: run: npm i -g npm@"${{ steps.versions.outputs.npmVersion }}" - name: Cache node modules - uses: actions/cache@v1 - env: - cache-name: cache-node-modules + uses: actions/cache@v4 with: path: ~/.npm # npm cache files are stored in `~/.npm` on Linux/macOS key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }}