summaryrefslogtreecommitdiffhomepage
path: root/packages
diff options
context:
space:
mode:
authorKit Langton <[email protected]>2026-04-03 12:12:01 -0400
committerGitHub <[email protected]>2026-04-03 16:12:01 +0000
commitc72642dd35299b9bbf910360191690212e977b56 (patch)
treedd71faa70074d5e53bdb15a0d191bb3ebc5a3d85 /packages
parentf2d4ced8ea527dd6518e87354b886204a2819cab (diff)
downloadopencode-c72642dd35299b9bbf910360191690212e977b56.tar.gz
opencode-c72642dd35299b9bbf910360191690212e977b56.zip
test(ci): publish unit reports in actions (#20547)
Diffstat (limited to 'packages')
-rw-r--r--packages/app/package.json1
-rw-r--r--packages/opencode/package.json1
2 files changed, 2 insertions, 0 deletions
diff --git a/packages/app/package.json b/packages/app/package.json
index d179e4a52..62749e209 100644
--- a/packages/app/package.json
+++ b/packages/app/package.json
@@ -15,6 +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: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 b64cc1922..96c7612e8 100644
--- a/packages/opencode/package.json
+++ b/packages/opencode/package.json
@@ -9,6 +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",
"build": "bun run script/build.ts",
"upgrade-opentui": "bun run script/upgrade-opentui.ts",
"dev": "bun run --conditions=browser ./src/index.ts",