Skip to content

Commit

Permalink
try to cache .yarn/install-state.gz
Browse files Browse the repository at this point in the history
  • Loading branch information
compojoom committed Dec 17, 2024
1 parent beb2f54 commit 5a40761
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .github/actions/cache-deps/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ inputs:
cache-key:
description: "Cache key"
required: true
default: web-core-modules-${{ hashFiles('/package.json', '/yarn.lock') }}
default: web-core-modules-${{ hashFiles('**/package.json', '**/yarn.lock') }}
runs:
using: "composite"
steps:
Expand All @@ -13,6 +13,7 @@ runs:
with:
path: |
**/node_modules
.yarn/install-state.gz
key: ${{ inputs.cache-key }}

- name: Nextjs/Cypress cache
Expand Down
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -59,4 +59,3 @@ certificates

# Yarn v4
.yarn/*
!.yarn/install-state.gz
Binary file removed .yarn/install-state.gz
Binary file not shown.

0 comments on commit 5a40761

Please sign in to comment.