Skip to content

feat: 更新CI工作流以使用pnpm安装依赖 #252

feat: 更新CI工作流以使用pnpm安装依赖

feat: 更新CI工作流以使用pnpm安装依赖 #252

Triggered via push January 16, 2025 07:55
Status Failure
Total duration 1m 33s
Artifacts

codecov.yml

on: push
Run tests and collect coverage
1m 26s
Run tests and collect coverage
Fit to window
Zoom out
Zoom in

Annotations

3 errors and 1 warning
tests/demo/demo.test.tsx > Rendering demo: src/MarkdownEditor/demos/rerender.tsx > renders src/MarkdownEditor/demos/rerender.tsx correctly: tests/demo/demo.test.tsx#L58
Error: Snapshot `Rendering demo: src/MarkdownEditor/demos/rerender.tsx > renders src/MarkdownEditor/demos/rerender.tsx correctly 1` mismatched - Expected + Received @@ -25,17 +25,15 @@ data-slate-node="value" spellcheck="false" style="position: relative; white-space: pre-wrap; word-wrap: break-word; font-size: 14px;" zindex="-1" > - <h2 + <p class="ant-md-editor-drag-el empty typewriter" - data-be="head" - data-head="" + data-be="paragraph" data-slate-node="element" - data-title="true" - id="" + style="display: none;" > <span data-slate-node="text" > <span @@ -51,11 +49,11 @@  <br /> </span> </span> </span> - </h2> + </p> </div> </div> </div> </div> </div> ❯ tests/demo/demo.test.tsx:58:38
tests/demo/demo.test.tsx > Rendering demo: src/MarkdownEditor/demos/bug.tsx > renders src/MarkdownEditor/demos/bug.tsx correctly: tests/demo/demo.test.tsx#L58
Error: Snapshot `Rendering demo: src/MarkdownEditor/demos/bug.tsx > renders src/MarkdownEditor/demos/bug.tsx correctly 1` mismatched - Expected + Received @@ -1650,316 +1650,30 @@ spellcheck="false" style="position: relative; white-space: pre-wrap; word-wrap: break-word; font-size: 14px;" zindex="-1" > <p - class="ant-md-editor-drag-el typewriter" + class="ant-md-editor-drag-el empty typewriter" data-be="paragraph" data-slate-node="element" - style="" + style="display: none;" > - <span - data-slate-node="text" - > - <span - class=" " - data-be="text" - data-slate-leaf="true" - draggable="false" - > - <span - data-slate-string="true" - > - 在使用 - </span> - </span> - </span> - <span - data-slate-node="text" - > - <span - class=" " - data-be="text" - data-slate-leaf="true" - draggable="false" - > - <span - contenteditable="false" - style="font-size: 0px; line-height: 0; display: inline-block;" - > -   - </span> - <code - class="ant-md-editor-content-inline-code" - > - <span - data-slate-string="true" - > - C - </span> - </code> - <span - contenteditable="false" - style="font-size: 0px; line-height: 0; display: inline-block;" - > -   - </span> - </span> - </span> - <span - data-slate-node="text" - > - <span - class=" " - data-be="text" - data-slate-leaf="true" - draggable="false" - > - <span - data-slate-string="true" - > - 结构体处理参数时 ,保证移动语义不被破坏的关键在于正确使用 - </span> - </span> - </span> <span data-slate-node="text" > <span class=" " data-be="text" data-slate-leaf="true" draggable="false" > <span - contenteditable="false" - style="font-size: 0px; line-height: 0; display: inline-block;" - > -   - </span> - <code - class="ant-md-editor-content-inline-code" - > - <span - data-slate-string="true" - > - std::forward - </span> - </code> - <span - contenteditable="false" - style="font-size: 0px; line-height: 0; display: inline-block;" - > -   - </span> - </span> - </span> - <span - data-slate-node="text" - > - <span - class=" " - data-be="text" - data-slate-leaf="true" - draggable="false" - > - <span -
Run tests and collect coverage
Process completed with exit code 1.
Run tests and collect coverage
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636