Skip to content

Commit

Permalink
ci: checked if there is a xml output
Browse files Browse the repository at this point in the history
  • Loading branch information
rH4rtinger committed Oct 9, 2024
1 parent 91245f1 commit 35eca30
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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') }}
Expand Down Expand Up @@ -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') }}
Expand All @@ -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:
Expand Down

0 comments on commit 35eca30

Please sign in to comment.