Skip to content

ci: add GitHub Actions CI workflow (vitest + lint) #1

ci: add GitHub Actions CI workflow (vitest + lint)

ci: add GitHub Actions CI workflow (vitest + lint) #1

Triggered via push April 13, 2026 21:35
Status Failure
Total duration 16s
Artifacts

ci.yml

on: push
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

21 errors and 3 warnings
test (20): src/index.ts#L8
Duplicate identifier 'EscalationRouterConfig'.
test (20): src/__tests__/escalation.test.ts#L59
Object literal may only specify known properties, and 'confidence' does not exist in type '{ tier: "bot" | "brain" | "human"; success: boolean; factors: DecisionFactors; }'.
test (20): src/__tests__/escalation.test.ts#L5
'vi' is declared but its value is never read.
test (20): src/HumanEscalation.ts#L246
'reason' is declared but its value is never read.
test (20): src/HumanEscalation.ts#L7
'RoutingTier' is declared but its value is never read.
test (20): src/EscalationRouter.ts#L241
Object literal may only specify known properties, and 'cached' does not exist in type '{ tier: RoutingTier; decision: unknown; cost: number; }'.
test (20): src/EscalationRouter.ts#L194
Type '{ cached: true; processingTimeMs: number; tier: RoutingTier; decision: unknown; cost: number; }' is missing the following properties from type 'RoutingResult': fallbackChain, timestamp
test (20): src/DecisionRouter.ts#L526
'q' is declared but its value is never read.
test (20): src/DecisionRouter.ts#L520
'q' is declared but its value is never read.
test (20): src/DecisionRouter.ts#L514
'q' is declared but its value is never read.
test (18)
The strategy configuration was canceled because "test._20" failed
test (18): src/index.ts#L8
Duplicate identifier 'EscalationRouterConfig'.
test (18): src/__tests__/escalation.test.ts#L59
Object literal may only specify known properties, and 'confidence' does not exist in type '{ tier: "bot" | "brain" | "human"; success: boolean; factors: DecisionFactors; }'.
test (18): src/__tests__/escalation.test.ts#L5
'vi' is declared but its value is never read.
test (18): src/HumanEscalation.ts#L246
'reason' is declared but its value is never read.
test (18): src/HumanEscalation.ts#L7
'RoutingTier' is declared but its value is never read.
test (18): src/EscalationRouter.ts#L241
Object literal may only specify known properties, and 'cached' does not exist in type '{ tier: RoutingTier; decision: unknown; cost: number; }'.
test (18): src/EscalationRouter.ts#L194
Type '{ cached: true; processingTimeMs: number; tier: RoutingTier; decision: unknown; cost: number; }' is missing the following properties from type 'RoutingResult': fallbackChain, timestamp
test (18): src/DecisionRouter.ts#L526
'q' is declared but its value is never read.
test (18): src/DecisionRouter.ts#L520
'q' is declared but its value is never read.
test (18): src/DecisionRouter.ts#L514
'q' is declared but its value is never read.
lint
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4, actions/setup-node@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
test (20)
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4, actions/setup-node@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
test (18)
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4, actions/setup-node@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/