Skip to content

feat(markdown): replace unified.js with custom markdown parser/serializer #7187

feat(markdown): replace unified.js with custom markdown parser/serializer

feat(markdown): replace unified.js with custom markdown parser/serializer #7187

Triggered via pull request April 3, 2026 08:52
Status Failure
Total duration 7m 45s
Artifacts 14

build.yml

on: pull_request
Matrix: playwright
Merge Playwright Reports
37s
Merge Playwright Reports
Fit to window
Zoom out
Zoom in

Annotations

3 errors, 9 warnings, and 6 notices
Build
Process completed with exit code 130.
src/context/ServerBlockNoteEditor.test.ts > Test ServerBlockNoteEditor > converts to and from markdown (blocksToMarkdownLossy): packages/core/src/api/exporters/markdown/htmlToMarkdown.ts#L13
ReferenceError: DOMParser is not defined ❯ Module.htmlToMarkdown ../core/src/api/exporters/markdown/htmlToMarkdown.ts:13:18 ❯ cleanHTMLToMarkdown ../core/src/api/exporters/markdown/markdownExporter.ts:15:10 ❯ Module.blocksToMarkdown ../core/src/api/exporters/markdown/markdownExporter.ts:31:10 ❯ src/context/ServerBlockNoteEditor.ts:252:14 ❯ ServerBlockNoteEditor._withJSDOM src/context/ServerBlockNoteEditor.ts:72:20 ❯ ServerBlockNoteEditor.blocksToMarkdownLossy src/context/ServerBlockNoteEditor.ts:251:17 ❯ src/context/ServerBlockNoteEditor.test.ts:120:29
[webkit] › src/end-to-end/ariakit/ariakit.test.ts:28:7 › Check Ariakit UI › Check link toolbar: tests/src/end-to-end/ariakit/ariakit.test.ts#L41
1) [webkit] › src/end-to-end/ariakit/ariakit.test.ts:28:7 › Check Ariakit UI › Check link toolbar Error: expect(Buffer).toMatchSnapshot(expected) 1006 pixels (ratio 0.01 of all image pixels) are different. Expected: /__w/BlockNote/BlockNote/tests/src/end-to-end/ariakit/ariakit.test.ts-snapshots/ariakit-link-toolbar-webkit-linux.png Received: /__w/BlockNote/BlockNote/tests/test-results/ariakit-ariakit-Check-Ariakit-UI-Check-link-toolbar-webkit/ariakit-link-toolbar-actual.png Diff: /__w/BlockNote/BlockNote/tests/test-results/ariakit-ariakit-Check-Ariakit-UI-Check-link-toolbar-webkit/ariakit-link-toolbar-diff.png 39 | 40 | await page.waitForTimeout(500); > 41 | expect(await page.screenshot()).toMatchSnapshot("ariakit-link-toolbar.png"); | ^ 42 | }); 43 | test("Check slash menu", async ({ page }) => { 44 | await focusOnEditor(page); at /__w/BlockNote/BlockNote/tests/src/end-to-end/ariakit/ariakit.test.ts:41:37
Playwright Build
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/cache@v4, actions/checkout@v4, actions/setup-node@v4, actions/upload-artifact@v4, pnpm/action-setup@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
Build
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/cache@v4, actions/checkout@v4, actions/setup-node@v4, pnpm/action-setup@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
Playwright Tests - chromium (2/2)
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4, actions/download-artifact@v4, actions/setup-node@v4, actions/upload-artifact@v4, pnpm/action-setup@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
Playwright Tests - firefox (2/2)
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4, actions/download-artifact@v4, actions/setup-node@v4, actions/upload-artifact@v4, pnpm/action-setup@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
Playwright Tests - webkit (2/2)
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4, actions/download-artifact@v4, actions/setup-node@v4, actions/upload-artifact@v4, pnpm/action-setup@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
Playwright Tests - chromium (1/2)
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4, actions/download-artifact@v4, actions/setup-node@v4, actions/upload-artifact@v4, pnpm/action-setup@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
Playwright Tests - firefox (1/2)
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4, actions/download-artifact@v4, actions/setup-node@v4, actions/upload-artifact@v4, pnpm/action-setup@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
Playwright Tests - webkit (1/2)
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4, actions/download-artifact@v4, actions/setup-node@v4, actions/upload-artifact@v4, pnpm/action-setup@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
Merge Playwright Reports
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4, actions/download-artifact@v4, actions/setup-node@v4, actions/upload-artifact@v4, pnpm/action-setup@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
🎭 Playwright Run Summary
40 passed (34.0s)
🎭 Playwright Run Summary
40 passed (44.3s)
🎭 Playwright Run Summary
40 passed (1.0m)
🎭 Playwright Run Summary
2 skipped 82 passed (1.2m)
🎭 Playwright Run Summary
12 skipped 72 passed (1.3m)
🎭 Playwright Run Summary
1 flaky [webkit] › src/end-to-end/ariakit/ariakit.test.ts:28:7 › Check Ariakit UI › Check link toolbar ─ 10 skipped 73 passed (1.8m)

Artifacts

Produced during runtime
Name Size Digest
blob-report-chromium-1 Expired
114 KB
sha256:d65e59d016c8eeae3ad4d73219255767fc2a71e79a5e463bb93e602ba5476e94
blob-report-chromium-2 Expired
48.6 KB
sha256:c6c0568882eeae1fc12fcd9c4027f05138e25b06421b9e0a11508d634e73e93d
blob-report-firefox-1 Expired
103 KB
sha256:15ae48751e6756abeebca127d7a038c93098e306cb2c0590bfc801653be953d9
blob-report-firefox-2 Expired
49.5 KB
sha256:2c4d1ded42ddf44a96a368fe2d553f4642fb574139f1e910788cd6cfd2ab36e4
blob-report-webkit-1 Expired
304 KB
sha256:09a273d301736a74bb0d04fb5d5dfa15ae47dd6d3ce762f6bb7e23cb11f2be9f
blob-report-webkit-2 Expired
49.9 KB
sha256:1c513217fbf2822ff26393346abe3d48a8947da30edc5fe0a9341a355f199eba
playwright-build Expired
26.1 MB
sha256:dce94657313101405c214760e4a160379c874d4ea2c7a23479655efcc6be6333
playwright-report-chromium-1 Expired
248 KB
sha256:d90c3f9f1fd7405f04fc90d397ef64c3f3755b8e2d1571249593a5ec93c5d23a
playwright-report-chromium-2 Expired
207 KB
sha256:bb5523ecbb2363bfce85b648d93213c178fddab44933c4c25e3855378a94f92d
playwright-report-firefox-1 Expired
240 KB
sha256:244cb35a967c0241eb76bc4972dcd14164cf4ca9e7c01c35cfbfb5a1aa5231b3
playwright-report-firefox-2 Expired
207 KB
sha256:169ce1ee8c700a85edd071322fda433d61180e0a730d090efe10adc37b6d579d
playwright-report-merged Expired
895 KB
sha256:6c6a45b9c6656ad28dbfb77065d0e1327d4bfad85f173d7d6d09ab30466e5263
playwright-report-webkit-1 Expired
824 KB
sha256:84305187ef58c6a43d6c8f8039ffef28b15c8c51ed360ea4c08076a19f8852e8
playwright-report-webkit-2 Expired
208 KB
sha256:52c428b83e5ff5570faed1021b9979636f571d386640c953225cd98f63cc20cb