fix(settings): keep Steam ID as string and store the new token

Number("76561198005679788") is 76561198005679790 in JavaScript, so the wrong
Steam ID was saved. The Steam ID now stays a 17-digit string. Theme and
language saves no longer send steamId 0. After a save the new token from Auth
replaces the old one.

Add Vitest and run it in CI.
This commit is contained in:
lobo committed 2026-09-24 08:57:03 +02:00
1 parent 2c1f22f4b4
commit 44e23de6d6
6 files changed
+343 -22

No files matched your search

+3
View File
@@ -29,6 +29,9 @@ jobs:
- name: Lint & Type Check
run: npm run lint --if-present
- name: Unit Tests
run: npm test
# Build the Vite React application
- name: Build Production
run: npm run build