Skip to content

Commit

Permalink
try to better cache yarn
Browse files Browse the repository at this point in the history
  • Loading branch information
compojoom committed Dec 17, 2024
1 parent 2ec805f commit 5872f08
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 1 deletion.
7 changes: 7 additions & 0 deletions .github/workflows/yarn/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,13 @@ runs:
node-version: '22.11.0' # jod
cache: 'yarn'

- name: Yarn cache
uses: actions/cache@v3
with:
path: |
**/node_modules
key: web-core-modules-${{ hashFiles('**/yarn.lock') }}

- uses: actions/cache@v4
id: nextjs-cypress-cache
with:
Expand Down
5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -56,4 +56,7 @@ yalc.lock
/public/*.js.LICENSE.txt
certificates
*storybook.log
/.yarn

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

0 comments on commit 5872f08

Please sign in to comment.