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:
Keith Williams
2025-12-29 11:10:00 -03:00
committed by GitHub
co-authored by Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
parent b8e34bdc06
commit e94ea4d4b8
+3 -1
View File
@@ -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