Skip to content

Commit db8252e

Browse files
committed
removed nextjs cache for now, hurting more than helping
1 parent ec49693 commit db8252e

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

.github/workflows/ci.yaml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -11,16 +11,16 @@ jobs:
1111
steps:
1212
- name: 💾 Checkout code
1313
uses: actions/checkout@v4
14-
- name: 📦 Cache NextJS
15-
uses: actions/cache@v4
16-
with:
17-
path: |
18-
${{ github.workspace }}/.next/cache
19-
# Generate a new cache whenever packages or source files change.
20-
key: ${{ runner.os }}-nextjs-${{ hashFiles('pnpm-lock.yaml') }}-${{ hashFiles('**/*.js', '**/*.jsx', '**/*.ts', '**/*.tsx') }}
21-
# If source files changed but packages didn't, rebuild from a prior cache.
22-
restore-keys: |
23-
${{ runner.os }}-nextjs-${{ hashFiles('pnpm-lock.yaml') }}-
14+
# - name: 📦 Cache NextJS
15+
# uses: actions/cache@v4
16+
# with:
17+
# path: |
18+
# ${{ github.workspace }}/.next/cache
19+
# # Generate a new cache whenever packages or source files change.
20+
# key: ${{ runner.os }}-nextjs-${{ hashFiles('pnpm-lock.yaml') }}-${{ hashFiles('**/*.js', '**/*.jsx', '**/*.ts', '**/*.tsx') }}
21+
# # If source files changed but packages didn't, rebuild from a prior cache.
22+
# restore-keys: |
23+
# ${{ runner.os }}-nextjs-${{ hashFiles('pnpm-lock.yaml') }}-
2424
- uses: pnpm/action-setup@v4
2525
name: 📦 Install pnpm
2626
with:

0 commit comments

Comments
 (0)