Skip to content
This repository has been archived by the owner on Oct 14, 2024. It is now read-only.

refactor: move to typescript, optimize code structure #12

refactor: move to typescript, optimize code structure

refactor: move to typescript, optimize code structure #12

Triggered via pull request February 27, 2024 09:41
@so1veso1ve
synchronize #19
refactor
Status Failure
Total duration 1m 24s
Artifacts

ci.yml

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

Annotations

9 errors and 11 warnings
lint
Process completed with exit code 1.
typecheck: src/handler.ts#L16
Constructor of class 'CacheDB' is private and only accessible within the class declaration.
typecheck: src/handler.ts#L23
Cannot find name 'router_cgi'.
typecheck: src/handler.ts#L158
Parameter 'replacement' implicitly has an 'any' type.
typecheck: src/handler.ts#L184
Object literal may only specify known properties, and 'body' does not exist in type 'CwResponseInit'.
typecheck: src/handler.ts#L248
Type '{ [x: string]: unknown; }' is not assignable to type '(HeadersInit & Record<string, string>) | undefined'.
typecheck: src/handler.ts#L252
Type '{ [x: string]: unknown; }' is not assignable to type '(HeadersInit & Record<string, string>) | undefined'.
typecheck: src/handler.ts#L339
Argument of type 'Request[]' is not assignable to parameter of type 'Request'.
typecheck
Process completed with exit code 1.
lint
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-node@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
test (20.x, ubuntu-latest)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-node@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
typecheck
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-node@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
test (16.x, ubuntu-latest)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-node@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
test (18.x, ubuntu-latest)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-node@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
test (20.x, macos-latest)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-node@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
test (18.x, macos-latest)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-node@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
test (16.x, macos-latest)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-node@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
test (16.x, windows-latest)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-node@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
test (20.x, windows-latest)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-node@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
test (18.x, windows-latest)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-node@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.