Skip to content

Commit

Permalink
chore(deps): update actions/cache action to v4.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
renovate[bot] authored Dec 5, 2024
1 parent 2071dec commit 28ebdaa
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
- id: npm-cache
run: echo "dir=$(npm config get cache)" | tee -a "$GITHUB_OUTPUT"
- id: npm-cache-restore
uses: actions/cache/restore@6849a6489940f00c2f30c0fb92c6274307ccb58a # v4.1.2
uses: actions/cache/restore@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4.2.0
with:
path: ${{ steps.npm-cache.outputs.dir }}
key: npm-${{ hashFiles('package-lock.json') }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,15 +30,15 @@ jobs:
- id: npm-cache
run: echo "dir=$(npm config get cache)" | tee -a "$GITHUB_OUTPUT"
- id: npm-cache-restore
uses: actions/cache/restore@6849a6489940f00c2f30c0fb92c6274307ccb58a # v4.1.2
uses: actions/cache/restore@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4.2.0
with:
path: ${{ steps.npm-cache.outputs.dir }}
key: npm-${{ hashFiles('package-lock.json') }}
restore-keys: |
npm-
- run: npm ci
- run: npm test
- uses: actions/cache/save@6849a6489940f00c2f30c0fb92c6274307ccb58a # v4.1.2
- uses: actions/cache/save@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4.2.0
if: github.ref_name == 'main'
with:
path: ${{ steps.npm-cache.outputs.dir }}
Expand Down

0 comments on commit 28ebdaa

Please sign in to comment.