Skip to content

Commit

Permalink
fix(deploy-to-gh-pages): Update cache action
Browse files Browse the repository at this point in the history
  • Loading branch information
marcelklehr authored Dec 11, 2024
1 parent 34fcd60 commit 0b01825
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/deploy-to-gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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') }}
Expand Down

0 comments on commit 0b01825

Please sign in to comment.