Skip to content

Commit d3f2e37

Browse files
remove next cache from both file
1 parent 206efe7 commit d3f2e37

File tree

2 files changed

+0
-23
lines changed

2 files changed

+0
-23
lines changed

.github/workflows/build-preview.yml

Lines changed: 0 additions & 13 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:
@@ -53,9 +43,6 @@ jobs:
5343
- name: Install dependencies
5444
run: yarn install --immutable
5545

56-
- name: Remove Next.js build cache
57-
run: rm -rf .next/cache
58-
5946
- name: Build Site
6047
run: yarn run build
6148
env:

.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)