Skip to content

test: fix testcases #270

test: fix testcases

test: fix testcases #270

Triggered via push January 30, 2024 07:21
Status Failure
Total duration 1m 28s
Artifacts

ci.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 1 warning
Test: libs/dingtalk-bot/src/utils.ts#L39
Cannot find name 'fetch'.
Test: src/api/controllers/ding.ts#L30
Property 'headers' does not exist on type 'Request'.
Test: src/api/controllers/proxy.ts#L18
Cannot find name 'fetch'.
Test: src/api/middleware/github.ts#L11
Property 'get' does not exist on type 'Headers'.
Test: src/api/middleware/github.ts#L15
Argument of type 'Headers' is not assignable to parameter of type '{ get(key: string): string | null | undefined; }'.
Test: src/api/middleware/logger/index.ts#L104
Property 'headers' does not exist on type 'Request'.
Test: src/api/middleware/logger/index.ts#L104
No overload matches this call.
Test: src/api/middleware/logger/index.ts#L105
'acc' is of type 'unknown'.
Test: src/api/utils/response.ts#L9
Cannot find name 'Response'.
Test: src/github/handler.ts#L35
Property 'headers' does not exist on type 'Request'.
Test
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.