ci: Add test:unit scripts so AI/Utils coverage is uploaded (#31170)

Co-authored-by: n8n-cat-bot[bot] <n8n-cat-bot[bot]@users.noreply.github.com>
Co-authored-by: Declan Carroll <declan@n8n.io>
Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
n8n-cat-bot[bot] 2026-05-27 14:54:38 +01:00 committed by GitHub
parent dfcc5481e3
commit 29fd8ccc4e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 3 additions and 0 deletions

View File

@ -20,6 +20,7 @@
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
},
"./package.json": "./package.json",
"./tool": {
"types": "./dist/sdk/tool.d.ts",
"default": "./dist/sdk/tool.js"

View File

@ -8,6 +8,7 @@
"format": "biome format --write src",
"format:check": "biome ci src",
"test": "jest",
"test:unit": "jest",
"lint": "eslint . --quiet",
"lint:fix": "eslint . --fix",
"eval:instance-ai": "tsx evaluations/cli/index.ts",

View File

@ -11,6 +11,7 @@
"lint": "eslint . --quiet",
"lint:fix": "eslint . --fix",
"test": "vitest run",
"test:unit": "vitest run",
"test:dev": "vitest",
"format": "biome format --write src",
"format:check": "biome ci src"