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:
parent
c98879430b
commit
3b58a25ccf
9 changed files with 942 additions and 15 deletions
12
.github/workflows/sonar.yml
vendored
12
.github/workflows/sonar.yml
vendored
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue