Skip to content

Commit 84b5fd9

Browse files
committed
test
1 parent 902bcdb commit 84b5fd9

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

.github/workflows/lint.yml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -30,16 +30,16 @@ jobs:
3030
node-version: ${{ matrix.node-version }}
3131
cache: "pnpm"
3232

33-
# - name: Configure Build Caching
34-
# uses: actions/cache@v4
35-
# with:
36-
# path: |
37-
# ${{ github.workspace }}/.next/cache
38-
# # Generate a new cache whenever packages or source files change.
39-
# key: ${{ runner.os }}-nextjs-${{ hashFiles('**/pnpm-lock.yaml') }}-${{ hashFiles('**/*.js', '**/*.jsx', '**/*.ts', '**/*.tsx') }}
40-
# # If source files changed but packages didn't, rebuild from a prior cache.
41-
# restore-keys: |
42-
# ${{ runner.os }}-nextjs-${{ hashFiles('**/pnpm-lock.yaml') }}-
33+
- name: Configure Build Caching
34+
uses: actions/cache@v4
35+
with:
36+
path: |
37+
${{ github.workspace }}/.next/cache
38+
# Generate a new cache whenever packages or source files change.
39+
key: ${{ runner.os }}-nextjs-${{ hashFiles('**/pnpm-lock.yaml') }}-${{ hashFiles('**/*.js', '**/*.jsx', '**/*.ts', '**/*.tsx') }}
40+
# If source files changed but packages didn't, rebuild from a prior cache.
41+
restore-keys: |
42+
${{ runner.os }}-nextjs-${{ hashFiles('**/pnpm-lock.yaml') }}-
4343
4444
- name: Install dependencies
4545
run: pnpm install --frozen-lockfile

0 commit comments

Comments
 (0)