From e301ccaa283150ad1eaedb25024a9392dd30a4e8 Mon Sep 17 00:00:00 2001 From: Ramona Hartinger Date: Thu, 10 Oct 2024 06:21:10 +0200 Subject: [PATCH] ci: correcting cache parts --- .github/workflows/nodejs.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/nodejs.yml b/.github/workflows/nodejs.yml index 8db179f..0ac592f 100644 --- a/.github/workflows/nodejs.yml +++ b/.github/workflows/nodejs.yml @@ -37,7 +37,8 @@ jobs: - name: Cache node_modules uses: actions/cache@v4 with: - path: node_modules + path: | + node_modules webview-ui/build webview-ui/node-modules key: node_modules-${{ matrix.os }}-node-${{ matrix.node-version }}-${{ hashFiles('package-lock.json') }} @@ -141,7 +142,8 @@ jobs: - name: Restore cached node_modules uses: actions/cache@v4 with: - path: node_modules + path: | + node_modules webview-ui/build webview-ui/node-modules key: node_modules-ubuntu-latest-node-22.x-${{ hashFiles('package-lock.json') }} @@ -168,4 +170,4 @@ jobs: -Dsonar.organization=aditosoftware -Dsonar.eslint.reportPaths=eslint-results.json -Dsonar.javascript.lcov.reportPaths=coverage/lcov.info - -Dsonar.tests=src/test,out/test + -Dsonar.tests=src/test