Add Vitest frontend tests to CI with JUnit reporting and coverage (#2151)

Co-authored-by: acx10 <acx10@users.noreply.github.com>
This commit is contained in:
ACX
2026-01-04 22:55:13 -07:00
committed by GitHub
co-authored by acx10
parent e8de8adf6f
commit cee7e96c63
7 changed files with 255 additions and 19 deletions
+15 -1
View File
@@ -69,6 +69,21 @@ jobs:
distribution: 'temurin'
cache: 'gradle'
- name: Set Up Node.js
uses: actions/setup-node@v4
with:
node-version: '22'
cache: 'npm'
cache-dependency-path: booklore-ui/package-lock.json
- name: Install Frontend Dependencies
working-directory: ./booklore-ui
run: npm ci --force
- name: Execute Frontend Tests
working-directory: ./booklore-ui
run: npm run test:ci
- name: Retrieve Latest Master Version Tag
id: get_version
run: |
@@ -166,4 +181,3 @@ jobs:
GITHUB_TOKEN: ${{ github.token }}
run: |
gh release edit ${{ env.new_tag }} --draft=true