Skip to content

feat: migrate to Vite+ #7855

feat: migrate to Vite+

feat: migrate to Vite+ #7855

Triggered via pull request May 15, 2026 14:34
Status Success
Total duration 8m 56s
Artifacts 15

build.yml

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

Annotations

5 errors, 11 warnings, and 7 notices
[webkit] › src/end-to-end/keyboardhandlers/keyboardhandlers.test.ts:306:7 › Check Keyboard Handlers' Behaviour › Check Delete before shallower block: tests/src/utils/editor.ts#L47
3) [webkit] › src/end-to-end/keyboardhandlers/keyboardhandlers.test.ts:306:7 › Check Keyboard Handlers' Behaviour › Check Delete before shallower block Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(string).toMatchSnapshot(expected) @@ -41,19 +41,41 @@ "textAlignment": "left" }, "content": [ { "type": "text", - "text": "ParagraphParagraph" + "text": "Paragrah" } ] } ] } ] } ] + }, + { + "type": "blockContainer", + "attrs": { + "id": "2" + }, + "content": [ + { + "type": "paragraph", + "attrs": { + "backgroundColor": "default", + "textColor": "default", + "textAlignment": "left" + }, + "content": [ + { + "type": "text", + "text": "Paragraph" + } + ] + } + ] } ] } ] } Expected: /__w/BlockNote/BlockNote/tests/src/end-to-end/keyboardhandlers/keyboardhandlers.test.ts-snapshots/deleteShallowerBlock-json-webkit-linux.json Received: /__w/BlockNote/BlockNote/tests/test-results/keyboardhandlers-keyboardh-9a661-lete-before-shallower-block-webkit-retry1/deleteShallowerBlock-json-actual.json at ../utils/editor.ts:47 45 | // Remove id from docs 46 | const doc = JSON.stringify(await getDoc(page), null, 2); > 47 | expect(doc).toMatchSnapshot(`${name}.json`); | ^ 48 | } 49 | at compareDocToSnapshot (/__w/BlockNote/BlockNote/tests/src/utils/editor.ts:47:15) at /__w/BlockNote/BlockNote/tests/src/end-to-end/keyboardhandlers/keyboardhandlers.test.ts:319:5
[webkit] › src/end-to-end/keyboardhandlers/keyboardhandlers.test.ts:306:7 › Check Keyboard Handlers' Behaviour › Check Delete before shallower block: tests/src/utils/editor.ts#L47
3) [webkit] › src/end-to-end/keyboardhandlers/keyboardhandlers.test.ts:306:7 › Check Keyboard Handlers' Behaviour › Check Delete before shallower block Error: expect(string).toMatchSnapshot(expected) @@ -41,19 +41,41 @@ "textAlignment": "left" }, "content": [ { "type": "text", - "text": "ParagraphParagraph" + "text": "Paragrap" } ] } ] } ] } ] + }, + { + "type": "blockContainer", + "attrs": { + "id": "2" + }, + "content": [ + { + "type": "paragraph", + "attrs": { + "backgroundColor": "default", + "textColor": "default", + "textAlignment": "left" + }, + "content": [ + { + "type": "text", + "text": "Paragraph" + } + ] + } + ] } ] } ] } Expected: /__w/BlockNote/BlockNote/tests/src/end-to-end/keyboardhandlers/keyboardhandlers.test.ts-snapshots/deleteShallowerBlock-json-webkit-linux.json Received: /__w/BlockNote/BlockNote/tests/test-results/keyboardhandlers-keyboardh-9a661-lete-before-shallower-block-webkit/deleteShallowerBlock-json-actual.json at ../utils/editor.ts:47 45 | // Remove id from docs 46 | const doc = JSON.stringify(await getDoc(page), null, 2); > 47 | expect(doc).toMatchSnapshot(`${name}.json`); | ^ 48 | } 49 | at compareDocToSnapshot (/__w/BlockNote/BlockNote/tests/src/utils/editor.ts:47:15) at /__w/BlockNote/BlockNote/tests/src/end-to-end/keyboardhandlers/keyboardhandlers.test.ts:319:5
[webkit] › src/end-to-end/images/images.test.ts:55:7 › Check Image Block and Toolbar functionality › Should be able to resize image: tests/src/end-to-end/images/images.test.ts#L95
2) [webkit] › src/end-to-end/images/images.test.ts:55:7 › Check Image Block and Toolbar functionality › Should be able to resize image Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(Buffer).toMatchSnapshot(expected) 1232 pixels (ratio 0.01 of all image pixels) are different. Expected: /__w/BlockNote/BlockNote/tests/src/end-to-end/images/images.test.ts-snapshots/resize-image-webkit-linux.png Received: /__w/BlockNote/BlockNote/tests/test-results/images-images-Check-Image--cb35f-uld-be-able-to-resize-image-webkit-retry1/resize-image-actual.png Diff: /__w/BlockNote/BlockNote/tests/test-results/images-images-Check-Image--cb35f-uld-be-able-to-resize-image-webkit-retry1/resize-image-diff.png 93 | await page.waitForTimeout(500); 94 | await compareDocToSnapshot(page, "resizeImage"); > 95 | expect(await page.screenshot()).toMatchSnapshot("resize-image.png"); | ^ 96 | }); 97 | test("Should be able to delete image with backspace", async ({ page }) => { 98 | await page.goto(BASE_URL); at /__w/BlockNote/BlockNote/tests/src/end-to-end/images/images.test.ts:95:37
[webkit] › src/end-to-end/images/images.test.ts:55:7 › Check Image Block and Toolbar functionality › Should be able to resize image: tests/src/end-to-end/images/images.test.ts#L95
2) [webkit] › src/end-to-end/images/images.test.ts:55:7 › Check Image Block and Toolbar functionality › Should be able to resize image Error: expect(Buffer).toMatchSnapshot(expected) 1232 pixels (ratio 0.01 of all image pixels) are different. Expected: /__w/BlockNote/BlockNote/tests/src/end-to-end/images/images.test.ts-snapshots/resize-image-webkit-linux.png Received: /__w/BlockNote/BlockNote/tests/test-results/images-images-Check-Image--cb35f-uld-be-able-to-resize-image-webkit/resize-image-actual.png Diff: /__w/BlockNote/BlockNote/tests/test-results/images-images-Check-Image--cb35f-uld-be-able-to-resize-image-webkit/resize-image-diff.png 93 | await page.waitForTimeout(500); 94 | await compareDocToSnapshot(page, "resizeImage"); > 95 | expect(await page.screenshot()).toMatchSnapshot("resize-image.png"); | ^ 96 | }); 97 | test("Should be able to delete image with backspace", async ({ page }) => { 98 | await page.goto(BASE_URL); at /__w/BlockNote/BlockNote/tests/src/end-to-end/images/images.test.ts:95:37
[webkit] › src/end-to-end/customblocks/customblocks.test.ts:10:7 › Check custom block functionality › Should be able to interactively update vanilla custom blocks: tests/src/end-to-end/customblocks/customblocks.test.ts#L19
1) [webkit] › src/end-to-end/customblocks/customblocks.test.ts:10:7 › Check custom block functionality › Should be able to interactively update vanilla custom blocks Error: expect(Buffer).toMatchSnapshot(expected) 33106 pixels (ratio 0.01 of all image pixels) are different. Expected: /__w/BlockNote/BlockNote/tests/src/end-to-end/customblocks/customblocks.test.ts-snapshots/vanilla-interactivity-webkit-linux.png Received: /__w/BlockNote/BlockNote/tests/test-results/customblocks-customblocks--8679c-pdate-vanilla-custom-blocks-webkit/vanilla-interactivity-actual.png Diff: /__w/BlockNote/BlockNote/tests/test-results/customblocks-customblocks--8679c-pdate-vanilla-custom-blocks-webkit/vanilla-interactivity-diff.png 17 | 18 | await compareDocToSnapshot(page, "vanillaInteractivity"); > 19 | expect(await page.screenshot()).toMatchSnapshot( | ^ 20 | "vanilla-interactivity.png", 21 | ); 22 | }); at /__w/BlockNote/BlockNote/tests/src/end-to-end/customblocks/customblocks.test.ts:19:37
Build
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/upload-artifact@v4. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
eslint(no-unused-vars): packages/mantine/src/popover/Popover.tsx#L49
Variable 'variant' is declared but never used. Unused variables should start with a '_'.
eslint(no-unused-vars): packages/mantine/src/suggestionMenu/gridSuggestionMenu/GridSuggestionMenuLoader.tsx#L13
Variable 'children' is declared but never used. Unused variables should start with a '_'.
react(jsx-key): examples/09-ai/04-with-collaboration/src/App.tsx#L217
Missing "key" prop for element in iterator.
eslint(no-unused-vars): packages/mantine/src/comments/Editor.tsx#L16
Variable 'editor' is declared but never used. Unused variables should start with a '_'.
eslint(no-unused-vars): packages/mantine/src/comments/Comment.tsx#L60
Variable 'edited' is declared but never used. Unused variables should start with a '_'.
eslint(no-unused-vars): packages/mantine/src/comments/Comment.tsx#L59
Variable 'timeString' is declared but never used. Unused variables should start with a '_'.
eslint(no-unused-vars): packages/mantine/src/comments/Comment.tsx#L58
Variable 'authorInfo' is declared but never used. Unused variables should start with a '_'.
Build
{ "workflowData": { "owner": "TypeCellOS", "repo": "BlockNote", "sha": "e9f6de290e239083e5f5bf9f13f26e108dc555b2", "ref": "2745", "headBranch": "vite-plus" }, "key": "VlmwLJZyHs", "runId": 25923578938, "webhookDebug": { "action": "requested", "head_branch": "vite-plus", "head_repository_full_name": "TypeCellOS/BlockNote", "full_name": "TypeCellOS/BlockNote", "isPullRequest": true, "prNumber": 2745, "prNumberType": "number", "isNewPullRequest": true, "isOldPullRequest": false, "prKey": "TypeCellOS/BlockNote:vite-plus", "oldPrDataHash": "MDhoyuR6Vz", "lookupKey": "TypeCellOS/BlockNote:vite-plus", "data": { "owner": "TypeCellOS", "repo": "BlockNote", "sha": "e9f6de290e239083e5f5bf9f13f26e108dc555b2", "ref": "2745", "headBranch": "vite-plus" } }, "currentCursor": { "sha": "976c16135e52d7eaadd75a4b67819789e3ce22df", "timestamp": 25882295194 }, "pkgPrNewVersion": "0.0.72" }
🎭 Playwright Run Summary
43 passed (35.7s)
🎭 Playwright Run Summary
1 skipped 42 passed (46.7s)
🎭 Playwright Run Summary
43 passed (1.0m)
🎭 Playwright Run Summary
2 skipped 92 passed (1.3m)
🎭 Playwright Run Summary
16 skipped 78 passed (1.5m)
🎭 Playwright Run Summary
3 flaky [webkit] › src/end-to-end/customblocks/customblocks.test.ts:10:7 › Check custom block functionality › Should be able to interactively update vanilla custom blocks [webkit] › src/end-to-end/images/images.test.ts:55:7 › Check Image Block and Toolbar functionality › Should be able to resize image [webkit] › src/end-to-end/keyboardhandlers/keyboardhandlers.test.ts:306:7 › Check Keyboard Handlers' Behaviour › Check Delete before shallower block 12 skipped 79 passed (3.2m)

Artifacts

Produced during runtime
Name Size Digest
blob-report-chromium-1 Expired
127 KB
sha256:71cd7e49b6689c33d4bef920c3470803df9266a6aa8b10db37104771cdd80d1e
blob-report-chromium-2 Expired
52.6 KB
sha256:cd89f7b059a2a583a2743f1923f7b70c720d3d7c3f3b85b14efd53dbb0e490f8
blob-report-firefox-1 Expired
113 KB
sha256:f5926bbe535cf2ac73e04db9c1c6560b2b9eb361e8b18c569d7a392ca36e7ec2
blob-report-firefox-2 Expired
52.3 KB
sha256:ec7c1c6c034e595146aa75e9dea5b21d9d185df1d608523a8f3c75af734e8633
blob-report-webkit-1 Expired
4.83 MB
sha256:112f133fe105dd8d16cf74cd452c78ca14670e0f1fff358b443d37121f24eddb
blob-report-webkit-2 Expired
53.3 KB
sha256:9610598e4c53e5352eb03ea371199fd994ab2829dfaceed92686bae986d16db4
playwright-build Expired
21.2 MB
sha256:59fd39e22ec4a331c3195c3ea0aa6d100edb26bcc130bf5510093c88e7607858
playwright-report-chromium-1 Expired
260 KB
sha256:f29d88b9b3db6da1baf83038325b77afbb563bb0254e79f0555f4e13f5d0ce20
playwright-report-chromium-2 Expired
210 KB
sha256:4fdff20b5f8f546f0f747f85a73d4593cb92857106a1aa1febeb70414e977d56
playwright-report-firefox-1 Expired
250 KB
sha256:6c7c4b4a86792f2c8ef7b230b4fd2512478268850ea8a1504c1c7b3c04d1ce22
playwright-report-firefox-2 Expired
209 KB
sha256:ff7dfe96410ca299b29fc9904ff78cfefd8ed7785053e46716b55f7812b13a3c
playwright-report-merged Expired
5.16 MB
sha256:35720ca066757428271b58e69a81eaf0eb6af55b9446456e7ba3987ef1ad78af
playwright-report-webkit-1 Expired
5.1 MB
sha256:4bb7aa8fa27b2790db2ee8f8054b791313fce3abf8525ffca671b093a6d7db67
playwright-report-webkit-2 Expired
210 KB
sha256:0bfbcecd6af45b52709774ab5a232bce06a1b8f67ff05ec540f84f311dad65c1
relative-ci-artifacts-editor
44.4 KB
sha256:f2b03ed7a7f7134e213158fc6c55320c176e0293ee663c8a4c82233dd570227c