Skip to content

Commit 8c0624b

Browse files
committed
restore
1 parent 48d140c commit 8c0624b

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
name: 'Next.js Cache Init'
2+
description: 'Initialize the Next.js build cache for faster builds'
3+
4+
runs:
5+
using: "composite"
6+
steps:
7+
- name: Cache Next.js build cache
8+
uses: actions/cache@v4
9+
with:
10+
path: ${{ github.workspace }}/.next/cache
11+
key: ${{ runner.os }}-nextjs-${{ hashFiles('**/pnpm-lock.yaml') }}-${{ hashFiles('**/*.js', '**/*.jsx', '**/*.ts', '**/*.tsx') }}
12+
restore-keys: |
13+
${{ runner.os }}-nextjs-${{ hashFiles('**/pnpm-lock.yaml') }}-

0 commit comments

Comments
 (0)