diff --git a/.gitea/workflows/build.yml b/.gitea/workflows/build.yml index 3d663cc..585fe80 100644 --- a/.gitea/workflows/build.yml +++ b/.gitea/workflows/build.yml @@ -17,7 +17,7 @@ jobs: uses: actions/cache@v3 with: path: node_modules - key: ${{ hashFile('package-lock.json') }} + key: ${{ hashFiles('**/package-lock.json') }} Build_Node: runs-on: Docker container: @@ -27,6 +27,6 @@ jobs: uses: actions/cache/restore@v3 with: path: node_modules - key: ${{ hashFile('package-lock.json') }} + key: ${{ hashFiles('**/package-lock.json') }} - name: Build run: npm run build