We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents a88aa63 + 4f6a8e9 commit 6e7c8ddCopy full SHA for 6e7c8dd
1 file changed
.github/workflows/deploy.yml
@@ -30,7 +30,16 @@ jobs:
30
with:
31
node-version: '20'
32
cache: 'npm'
33
-
+ - name: Restore cache
34
+ uses: actions/cache@v4
35
+ with:
36
+ path: |
37
+ .next/cache
38
+ # Generate a new cache whenever packages or source files change.
39
+ key: ${{ runner.os }}-nextjs-${{ hashFiles('**/package-lock.json', '**/yarn.lock') }}-${{ hashFiles('**.[jt]s', '**.[jt]sx') }}
40
+ # If source files changed but packages didn't, rebuild from a prior cache.
41
+ restore-keys: |
42
+ ${{ runner.os }}-nextjs-${{ hashFiles('**/package-lock.json', '**/yarn.lock') }}-
43
- name: Install dependencies
44
run: npm ci
45
0 commit comments