summaryrefslogtreecommitdiffhomepage
path: root/packages
diff options
context:
space:
mode:
authorKit Langton <[email protected]>2026-04-03 22:47:20 -0400
committerGitHub <[email protected]>2026-04-03 22:47:20 -0400
commit00fa68b3a70facfe942523d35e2ecbf8456f0d49 (patch)
treee128671b743f0b1a7d9b396355995385593a0dc4 /packages
parent288eb044cb6f222d06d8e75dc51c9d59c40f86ba (diff)
downloadopencode-00fa68b3a70facfe942523d35e2ecbf8456f0d49.tar.gz
opencode-00fa68b3a70facfe942523d35e2ecbf8456f0d49.zip
fix(ci): create JUnit output dirs before tests (#20959)
Diffstat (limited to 'packages')
-rw-r--r--packages/app/package.json2
-rw-r--r--packages/opencode/package.json2
2 files changed, 2 insertions, 2 deletions
diff --git a/packages/app/package.json b/packages/app/package.json
index 62749e209..ab72a927a 100644
--- a/packages/app/package.json
+++ b/packages/app/package.json
@@ -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",
diff --git a/packages/opencode/package.json b/packages/opencode/package.json
index 96c7612e8..b3bced2b5 100644
--- a/packages/opencode/package.json
+++ b/packages/opencode/package.json
@@ -9,7 +9,7 @@
"prepare": "effect-language-service patch || true",
"typecheck": "tsgo --noEmit",
"test": "bun test --timeout 30000",
- "test:ci": "bun test --timeout 30000 --reporter=junit --reporter-outfile=.artifacts/unit/junit.xml",
+ "test:ci": "mkdir -p .artifacts/unit && bun test --timeout 30000 --reporter=junit --reporter-outfile=.artifacts/unit/junit.xml",
"build": "bun run script/build.ts",
"upgrade-opentui": "bun run script/upgrade-opentui.ts",
"dev": "bun run --conditions=browser ./src/index.ts",