fix: exclude .next/node_modules from yarn cache to prevent corruption (#26268)
Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
This commit is contained in:
co-authored by
Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
parent
b8e34bdc06
commit
e94ea4d4b8
@@ -43,7 +43,9 @@ runs:
|
||||
id: yarn-nm-cache
|
||||
uses: actions/cache@v4
|
||||
with:
|
||||
path: "**/node_modules/"
|
||||
path: |
|
||||
**/node_modules/
|
||||
!**/.next/node_modules/
|
||||
key: ${{ runner.os }}-yarn-nm-cache-${{ hashFiles('yarn.lock', '.yarnrc.yml') }}
|
||||
|
||||
# Invalidated on yarn.lock changes
|
||||
|
||||
Reference in New Issue
Block a user