fix(ci): write unit junit reports to artifacts dir

This commit is contained in:
Kit Langton 2026-04-03 17:05:59 -04:00
commit 1fdf29d471
4 changed files with 6 additions and 6 deletions

View file

@ -15,7 +15,7 @@
"build": "vite build",
"serve": "vite preview",
"test": "bun run test:unit",
"test:ci": "bun test --preload ./happydom.ts ./src --reporter=junit --reporter-outfile=.artifacts/unit/junit.xml",
"test:ci": "mkdir -p artifacts/unit && bun test --preload ./happydom.ts ./src --reporter=junit --reporter-outfile=artifacts/unit/junit.xml",
"test:unit": "bun test --preload ./happydom.ts ./src",
"test:unit:watch": "bun test --watch --preload ./happydom.ts ./src",
"test:e2e": "playwright test",