diff --git a/.github/workflows/nodejs.yml b/.github/workflows/nodejs.yml index 1917404..eeae2db 100644 --- a/.github/workflows/nodejs.yml +++ b/.github/workflows/nodejs.yml @@ -23,7 +23,7 @@ jobs: node-version: ${{ matrix.node-version }} - name: Cache node_modules - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: node_modules key: node_modules-${{ matrix.os }}-node-${{ matrix.node-version }}-${{ hashFiles('package-lock.json') }} @@ -51,7 +51,7 @@ jobs: node-version: 22.x - name: Restore cached node_modules - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: node_modules key: node_modules-ubuntu-latest-node-22.x-${{ hashFiles('package-lock.json') }} @@ -70,6 +70,9 @@ jobs: - name: Run tests with coverage run: xvfb-run -a npm test -- --coverage --coverage-output ./coverage --coverage-reporter lcovonly --reporter mocha-multi-reporters --reporter-options configFile=config.json + - name: check xml files + run: ls | grep .xml + - name: Analyze with SonarCloud uses: SonarSource/sonarcloud-github-action@master env: