Skip to content

upgrade remark and parse wiki links #161

upgrade remark and parse wiki links

upgrade remark and parse wiki links #161

Triggered via pull request November 16, 2024 23:09
Status Failure
Total duration 48s
Artifacts

ci.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 2 warnings
lint: src/markdown/index.ts#L59
Argument of type 'import("/home/runner/work/chronicles/chronicles/node_modules/@types/mdast/index").Root' is not assignable to parameter of type 'import("/home/runner/work/chronicles/chronicles/src/markdown/remark-slate-transformer/models/mdast").Root'.
lint: src/markdown/index.ts#L63
Argument of type 'import("/home/runner/work/chronicles/chronicles/node_modules/slate/dist/interfaces/node").Node[]' is not assignable to parameter of type 'import("/home/runner/work/chronicles/chronicles/src/markdown/remark-slate-transformer/models/slate").Node[]'.
lint: src/markdown/index.ts#L85
No overload matches this call.
lint: src/markdown/index.ts#L86
No overload matches this call.
lint: src/markdown/index.ts#L91
No overload matches this call.
lint: src/markdown/index.ts#L96
No overload matches this call.
lint: src/markdown/index.ts#L122
Object literal may only specify known properties, and 'children' does not exist in type 'Node'.
lint: src/markdown/index.ts#L132
Object literal may only specify known properties, and 'children' does not exist in type 'Node'.
lint: src/markdown/remark-slate-transformer/transformers/slate-to-mdast.ts#L54
Type 'Node[]' is not assignable to type 'RootContent[]'.
lint: src/preload/client/importer/importer.test.ts#L5
Module '"../../../markdown"' has no exported member 'stringToMdast'.
test
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
lint
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/