fix(ci): create JUnit output dirs before tests (#20959)

This commit is contained in:
Kit Langton
2026-04-03 22:47:20 -04:00
committed by GitHub
parent 288eb044cb
commit 00fa68b3a7
3 changed files with 3 additions and 2 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",