feat: #815 多文件上传 #37
Triggered via pull request
August 3, 2024 14:21
Saraph1nes
synchronize
#863
Status
Failure
Total duration
2m 42s
Artifacts
–
pr-test.yml
on: pull_request_target
build
2m 32s
review
/
review
Annotations
8 errors and 2 warnings
build:
src/Cherry.config.js#L446
Type '{ urlProcessor: (url: string, srcType: "link" | "audio" | "video" | "image" | "autolink") => string; fileUpload: (file: any, callback: any) => void; fileUploadMulti: (files: any, callback: any) => void; ... 6 more ...; onPaste: (clipboardData: DataTransfer) => boolean; }' is not assignable to type '{ urlProcessor?: (url: string, srcType: "link" | "audio" | "video" | "image" | "autolink") => string; fileUpload?: CherryFileUploadHandler; afterChange?: CherryLifecycle; ... 7 more ...; onPaste?: (clipboardData: DataTransfer) => string | boolean; }'.
|
build:
src/toolbars/hooks/Audio.js#L40
Type 'boolean' is not an array type or a string type.
|
build:
src/toolbars/hooks/File.js#L40
Type 'boolean' is not an array type or a string type.
|
build:
src/toolbars/hooks/Image.js#L51
Type 'boolean' is not an array type or a string type.
|
build:
src/toolbars/hooks/Pdf.js#L39
Type 'boolean' is not an array type or a string type.
|
build:
src/toolbars/hooks/Video.js#L40
Type 'boolean' is not an array type or a string type.
|
build:
src/toolbars/hooks/Word.js#L40
Type 'boolean' is not an array type or a string type.
|
build:
src/utils/file.js#L33
Property 'files' does not exist on type 'EventTarget'.
|
build
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-node@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
build
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v2, actions/setup-node@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|