Update .github/workflows/sonar.yml
Some checks failed
Sonar / SonarQube (push) Failing after 2s

This commit is contained in:
Liviu Burcusel 2025-12-06 10:50:32 +01:00
parent 90f34dc367
commit 70dea5e97c

View file

@ -18,6 +18,11 @@ jobs:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Restore npm cache
uses: https://code.forgejo.org/forgejo/cache-action@v3
with:
key: npm-${{ hashFiles('package-lock.json') }}
path: ~/.npm
- name: Setup node environment
uses: actions/setup-node@v4
with:
@ -25,6 +30,11 @@ jobs:
cache: "npm"
- name: Install dependencies
run: npm ci
- name: Save npm cache
uses: https://code.forgejo.org/forgejo/cache-action@v3
with:
key: npm-${{ hashFiles('package-lock.json') }}
path: ~/.npm
- name: Run tests and generate coverage
run: npm run coverage
# continue-on-error: true