Added vitest (#5)

* Moved eslint and @nuxt/eslint to devDependencies

* Added vitest to project and 1 test

* Tweaked Sonar workflow in order to run tests and coverage

* Removed offending config line
This commit is contained in:
Liviu Burcusel 2025-10-24 17:20:05 +02:00 committed by GitHub
parent c98879430b
commit 3b58a25ccf
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
9 changed files with 942 additions and 15 deletions

View file

@ -18,6 +18,18 @@ jobs:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup node environment
uses: actions/setup-node@v4
with:
node-version: "22"
cache: "npm"
- name: Install dependencies
run: npm ci
- name: Run tests and generate coverage
run: npm run coverage
continue-on-error: true
env:
CI: true
- name: SonarQube Scan
uses: SonarSource/sonarqube-scan-action@v6
env: