diff --git a/.gitea/workflows/deploy.yml b/.gitea/workflows/deploy.yml index 986ca47a..d8d9d7e2 100644 --- a/.gitea/workflows/deploy.yml +++ b/.gitea/workflows/deploy.yml @@ -42,7 +42,8 @@ jobs: with: node-version: '20' cache: 'npm' # Cache npm dependencies to speed up subsequent builds. - cache-dependency-path: 'package-lock.json' + # Use a glob pattern to find the lock file, making the path more resilient. + cache-dependency-path: '**/package-lock.json' - name: Install Dependencies run: npm ci # 'ci' is faster and safer for CI/CD than 'install'.