Repository navigation
chore: 发布 v2.5.4 #56
ci.yml
on: push
Typecheck, lint and test
2m 51s
Annotations
2 errors, 5 warnings, and 1 notice
|
Typecheck, lint and test
Process completed with exit code 1.
|
|
src/renderer/src/settings/__tests__/release-notes.test.ts > release notes dialog > renders nothing while closed, so the markdown chunk is never fetched early:
src/renderer/src/settings/__tests__/release-notes.test.ts#L78
AssertionError: expected <div …(4)>…(2)</div> to be null
- Expected:
null
+ Received:
<div
aria-label="更新说明"
aria-modal="true"
class="app-no-drag fixed inset-0 z-100 flex items-center justify-center p-[10px] transition-opacity duration-220 ease-panel motion-reduce:transition-none pointer-events-none opacity-0"
role="dialog"
>
<div
class="absolute inset-0 bg-scrim/35 backdrop-blur-[2px]"
/>
<div
class="relative flex max-h-full w-full max-w-[calc(100vw-20px)] flex-col overflow-hidden bg-surface rounded-panel shadow-2xl shadow-black/40 outline-none transition-[opacity,transform,translate,scale] duration-220 ease-panel motion-reduce:transition-none motion-reduce:transform-none motion-reduce:translate-y-0 motion-reduce:scale-100 translate-y-2 scale-[.98] opacity-0"
style="width: 520px;"
tabindex="-1"
>
<div
class="flex shrink-0 items-start gap-2 px-5 pt-4 outline-none"
tabindex="-1"
>
<div
class="min-w-0 flex-1"
>
<div
class="truncate text-[14px] text-fg"
>
更新说明
</div>
</div>
<button
aria-label="关闭"
class="app-no-drag flex shrink-0 items-center justify-center rounded-[8px] transition-[background-color,color,opacity,transform,scale,translate] duration-150 active:scale-[.94] motion-reduce:transition-none motion-reduce:active:scale-100 text-icon hover:bg-tint-hover hover:text-fg disabled:opacity-30 disabled:hover:bg-transparent"
style="width: 28px; height: 28px;"
title="关闭"
type="button"
>
<svg
aria-hidden="true"
class="lucide lucide-x"
fill="none"
height="15"
stroke="currentColor"
stroke-linecap="round"
stroke-linejoin="round"
stroke-width="2"
viewBox="0 0 24 24"
width="15"
xmlns="http://www.w3.org/2000/svg"
>
<path
d="M18 6 6 18"
/>
<path
d="m6 6 12 12"
/>
</svg>
</button>
</div>
<div
class="min-h-0 flex-1 overflow-y-auto px-5 py-4"
>
<div
aria-busy="false"
class="agent-markdown selectable text-[12.5px] leading-[1.6]"
data-variant="compact"
>
<div
class="agent-markdown-body"
>
<h3
id="markdown-r1-改动"
>
改动
</h3>
<ul>
<li>
<strong>
macOS 发布包启用签名与公证
</strong>
:不签名的包过不了 Gatekeeper
</li>
</ul>
</div>
</div>
</div>
<div
class="flex shrink-0 items-center justify-end gap-2 px-5 pb-4"
>
<button
class="app-no-drag inline-flex shrink-0 items-center justify-center gap-1.5 rounded-pill whitespace-nowrap transition-[background-color,border-color,color,opacity,transform,scale,translate] duration-150 active:scale-[.97] motion-reduce:transition-none motion-reduce:active:scale-100 disabled:opacity-40 h-7 px-3 text-[12px] bg-tint text-fg hover:bg-tint-strong"
type="button"
>
关闭
</button>
</div>
</div>
</div>
❯ src/renderer/src/settings/__tests__/release-notes.test.ts:78:55
|
|
Typecheck, lint and test
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/checkout@v4, actions/setup-node@v4. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
Typecheck, lint and test:
src/main/plugin/__tests__/tools.test.ts#L14
Unexpected any. Specify a different type
|
|
Typecheck, lint and test:
packages/plugin-api/nextcowork.d.ts#L741
Unexpected any. Specify a different type
|
|
Typecheck, lint and test:
packages/plugin-api/nextcowork.d.ts#L741
Unexpected any. Specify a different type
|
|
Typecheck, lint and test:
packages/plugin-api/nextcowork.d.ts#L732
Unexpected any. Specify a different type
|
|
Typecheck, lint and test
"The ubuntu-latest label will migrate to Ubuntu 26 beginning October 19, 2026. For more information, see https://github.com/actions/runner-images/issues/14748"
|