inserita cache per .next/cache in deploy.yml
Some checks failed
Deploy to VPS / build (push) Has been cancelled
Deploy to VPS / deploy (push) Has been cancelled

This commit is contained in:
AV77web 2026-05-28 18:41:35 +02:00
parent f4583aa175
commit 496efb85af

View file

@ -19,6 +19,16 @@ jobs:
node-version: "20" node-version: "20"
cache: npm cache: npm
cache-dependency-path: package-lock.json cache-dependency-path: package-lock.json
- name: Restore Next.js cache
uses: https://github.com/actions/cache@v4
with:
path: |
.next/cache
key: ${{ runner.os }}-nextjs-${{ hashFiles('**/package-lock.json') }}-${{ hashFiles('**/*.[jt]s', '**/*.[jt]sx') }}
restore-keys: |
${{ runner.os }}-nextjs-${{ hashFiles('**/package-lock.json') }}-
- name: Install dependencies - name: Install dependencies
run: npm ci run: npm ci