feat(tests): integrate Playwright and Vitest for testing, add CI pipeline, and update dependencies

- Added Playwright configuration for end-to-end testing.
- Integrated Vitest for unit testing with setup files.
- Updated package.json scripts for testing commands.
- Created CI pipeline for automated testing and builds.
- Added various test cases for components and pages.
- Updated .gitignore to exclude Playwright and coverage.
- Enhanced ModsList component with additional class for styling.
This commit is contained in:
taroj1205 2025-05-16 11:15:14 +12:00
parent 966da54a29
commit 133bbc20be
No known key found for this signature in database
GPG key ID: 0FCB6CFFE0981AB7
20 changed files with 2339 additions and 152 deletions

View file

@ -196,7 +196,7 @@ export default function ModsList({ allMods, locale }: ModsListProps) {
{paginatedMods.length > 0 ? (
paginatedMods.map((mod) => (
<a
className="flex w-full flex-col gap-4 border-transparent transition-colors duration-100 hover:opacity-90"
className="mod-card flex w-full flex-col gap-4 border-transparent transition-colors duration-100 hover:opacity-90"
href={`/mods/${mod.id}`}
key={mod.id}
>