Skip to content

Commit 28ddc52

Browse files
fix: next.js cache issue (#1185)
* fix: next.js cache issue * remove next cache from both file
1 parent 490d750 commit 28ddc52

File tree

2 files changed

+0
-20
lines changed

2 files changed

+0
-20
lines changed

.github/workflows/build-preview.yml

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -35,16 +35,6 @@ jobs:
3535
restore-keys: |
3636
${{ runner.os }}-yarn-
3737
38-
- name: Cache Next Build
39-
uses: actions/cache@v4
40-
with:
41-
path: |
42-
${{ steps.yarn-cache-dir-path.outputs.dir }}
43-
${{ github.workspace }}/.next/cache
44-
key: ${{ runner.os }}-nextjs-${{ hashFiles('**/yarn.lock') }}-${{ hashFiles('**/*.js', '**/*.jsx', '**/*.ts', '**/*.tsx') }}
45-
restore-keys: |
46-
${{ runner.os }}-nextjs-${{ hashFiles('**/yarn.lock') }}-
47-
4838
- name: Setup Node.js
4939
uses: actions/setup-node@v4
5040
with:

.github/workflows/production-deployment.yml

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -26,16 +26,6 @@ jobs:
2626
id: yarn-cache-dir-path
2727
run: echo "dir=$(yarn config get cacheFolder)" >> $GITHUB_OUTPUT
2828

29-
- name: Cache Next Build
30-
uses: actions/cache@v4
31-
with:
32-
path: |
33-
${{ steps.yarn-cache-dir-path.outputs.dir }}
34-
${{ github.workspace }}/.next/cache
35-
key: ${{ runner.os }}-nextjs-${{ hashFiles('**/yarn.lock') }}-${{ hashFiles('**/*.js', '**/*.jsx', '**/*.ts', '**/*.tsx') }}
36-
restore-keys: |
37-
${{ runner.os }}-nextjs-${{ hashFiles('**/yarn.lock') }}-
38-
3929
- name: Setup Node.js
4030
uses: actions/setup-node@v4
4131
with:

0 commit comments

Comments
 (0)