File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -51,16 +51,16 @@ jobs:
5151 #
5252 # You may remove this line if you want to manage the configuration yourself.
5353 static_site_generator : next
54- # - name: Restore cache
55- # uses: actions/cache@v4
56- # with:
57- # path: |
58- # .next/cache
59- # # Generate a new cache whenever packages or source files change.
60- # key: ${{ runner.os }}-nextjs-${{ hashFiles('**/package-lock.json', '**/yarn.lock ') }}-${{ hashFiles('**.[jt]s', '**.[jt]sx') }}
61- # # If source files changed but packages didn't, rebuild from a prior cache.
62- # restore-keys: |
63- # ${{ runner.os }}-nextjs-${{ hashFiles('**/package-lock.json', '**/yarn.lock ') }}-
54+ - name : Restore cache
55+ uses : actions/cache@v4
56+ with :
57+ path : |
58+ .next/cache
59+ # Generate a new cache whenever packages or source files change.
60+ key : ${{ runner.os }}-nextjs-${{ hashFiles('**/package-lock.json', '**/bun.lockb ') }}-${{ hashFiles('**.[jt]s', '**.[jt]sx') }}
61+ # If source files changed but packages didn't, rebuild from a prior cache.
62+ restore-keys : |
63+ ${{ runner.os }}-nextjs-${{ hashFiles('**/package-lock.json', '**/bun.lockb ') }}-
6464 - name : Install dependencies
6565 run : bun install
6666 - name : Build with Next.js
You can’t perform that action at this time.
0 commit comments