Update deploy.yml

This commit is contained in:
MacRimi 2025-02-14 10:33:15 +01:00 committed by GitHub
parent 4ec4adf385
commit 015eb0a284
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -26,7 +26,7 @@ jobs:
with:
node-version: "20"
cache: 'npm'
cache-dependency-path: '**/package-lock.json'
cache-dependency-path: 'web/package-lock.json'
- name: Setup Pages
uses: actions/configure-pages@v4
@ -34,7 +34,11 @@ jobs:
- name: Install dependencies
run: |
cd web
npm ci --prefer-offline --no-audit
if [ -f "package-lock.json" ]; then
npm ci
else
npm install
fi
- name: Build with Next.js
run: |