Skip to content

fix tests

fix tests #2

Triggered via push December 7, 2023 07:27
Status Failure
Total duration 17s
Artifacts

node.js.yml

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

Annotations

21 errors
build (14.x)
Process completed with exit code 1.
build (16.x)
The job was canceled because "_14_x" failed.
build (16.x): esbuild.ts#L35
Not all code paths return a value.
build (16.x): esbuild.ts#L94
Not all code paths return a value.
build (16.x): esbuild.ts#L135
Property 'initialized' does not exist on type 'typeof import("/home/runner/work/esbuild-function/esbuild-function/node_modules/esbuild-wasm/lib/main")'. Did you mean 'initialize'?
build (16.x): esbuild.ts#L156
'error' is of type 'unknown'.
build (16.x): example.ts#L26
Parameter 'messages' implicitly has an 'any' type.
build (16.x): example.ts#L50
Element implicitly has an 'any' type because expression of type 'any' can't be used to index type '{ javaScriptCompiler: any; }'.
build (16.x): example.ts#L58
Type 'null' is not assignable to type 'string'.
build (16.x): example.ts#L67
Object literal may only specify known properties, and 'name' does not exist in type '{ role: string; content: string; }'.
build (16.x)
Process completed with exit code 2.
build (18.x)
The job was canceled because "_14_x" failed.
build (18.x): esbuild.ts#L35
Not all code paths return a value.
build (18.x): esbuild.ts#L94
Not all code paths return a value.
build (18.x): esbuild.ts#L135
Property 'initialized' does not exist on type 'typeof import("/home/runner/work/esbuild-function/esbuild-function/node_modules/esbuild-wasm/lib/main")'. Did you mean 'initialize'?
build (18.x): esbuild.ts#L156
'error' is of type 'unknown'.
build (18.x): example.ts#L26
Parameter 'messages' implicitly has an 'any' type.
build (18.x): example.ts#L50
Element implicitly has an 'any' type because expression of type 'any' can't be used to index type '{ javaScriptCompiler: any; }'.
build (18.x): example.ts#L58
Type 'null' is not assignable to type 'string'.
build (18.x): example.ts#L67
Object literal may only specify known properties, and 'name' does not exist in type '{ role: string; content: string; }'.
build (18.x)
Process completed with exit code 2.