Skip to content

Commit

Permalink
Use cache v4
Browse files Browse the repository at this point in the history
  • Loading branch information
PEZ committed Nov 2, 2024
1 parent 0cc5839 commit 305908c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
node-version: '22'

- name: Restore dependencies
uses: actions/cache@v2
uses: actions/cache@v4
with:
path: ~/.npm
key: ${{ runner.os }}-npm-${{ hashFiles('package-lock.json') }}
Expand All @@ -40,7 +40,7 @@ jobs:
run: cp -r . /tmp/build

- name: Save dependencies
uses: actions/cache@v2
uses: actions/cache@v4
with:
path: ~/.npm
key: ${{ runner.os }}-npm-${{ hashFiles('package-lock.json') }}
Expand Down Expand Up @@ -119,7 +119,7 @@ jobs:
cp package.json /tmp/build
- name: Save dependencies
uses: actions/cache@v2
uses: actions/cache@v4
with:
path: ~/.npm
key: ${{ runner.os }}-npm-${{ hashFiles('package-lock.json') }}
Expand Down

0 comments on commit 305908c

Please sign in to comment.