Skip to content

feat: migrate to Vite+ #7852

feat: migrate to Vite+

feat: migrate to Vite+ #7852

Triggered via pull request May 14, 2026 19:56
Status Success
Total duration 7m 35s
Artifacts 15

build.yml

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

Annotations

3 errors, 11 warnings, and 7 notices
[firefox] › src/end-to-end/customblocks/customblocks.test.ts:24:7 › Check custom block functionality › Should be able to interactively update React custom blocks: tests/src/end-to-end/customblocks/customblocks.test.ts#L33
1) [firefox] › src/end-to-end/customblocks/customblocks.test.ts:24:7 › Check custom block functionality › Should be able to interactively update React custom blocks Error: expect(Buffer).toMatchSnapshot(expected) 9111 pixels (ratio 0.01 of all image pixels) are different. Expected: /__w/BlockNote/BlockNote/tests/src/end-to-end/customblocks/customblocks.test.ts-snapshots/react-interactivity-firefox-linux.png Received: /__w/BlockNote/BlockNote/tests/test-results/customblocks-customblocks--ee421--update-React-custom-blocks-firefox/react-interactivity-actual.png Diff: /__w/BlockNote/BlockNote/tests/test-results/customblocks-customblocks--ee421--update-React-custom-blocks-firefox/react-interactivity-diff.png 31 | 32 | await compareDocToSnapshot(page, "reactInteractivity"); > 33 | expect(await page.screenshot()).toMatchSnapshot("react-interactivity.png"); | ^ 34 | }); 35 | }); 36 | at /__w/BlockNote/BlockNote/tests/src/end-to-end/customblocks/customblocks.test.ts:33: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
1) [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
1) [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
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/
react-hooks(exhaustive-deps): examples/01-basic/02-block-objects/src/App.tsx#L33
React Hook useEffect has a missing dependency: 'editor.document'
eslint(no-unused-vars): examples/01-basic/05-removing-default-blocks/src/App.tsx#L10
Variable 'image' is declared but never used. Unused variables should start with a '_'.
eslint(no-unused-vars): examples/01-basic/05-removing-default-blocks/src/App.tsx#L10
Variable 'audio' is declared but never used. Unused variables should start with a '_'.
eslint(no-unused-vars): examples/03-ui-components/11-uppy-file-panel/src/UppyFilePanel.tsx#L35
Parameter 'resp' is declared but never used. Unused parameters should start with a '_'.
Build
{ "workflowData": { "owner": "TypeCellOS", "repo": "BlockNote", "sha": "976c16135e52d7eaadd75a4b67819789e3ce22df", "ref": "2745", "headBranch": "vite-plus" }, "key": "Er0ZleGKdK", "runId": 25882295194, "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": "976c16135e52d7eaadd75a4b67819789e3ce22df", "ref": "2745", "headBranch": "vite-plus" } }, "currentCursor": { "sha": "be39ebc9ed8a5b62adfe426811cf44d38d996af0", "timestamp": 25878476466 }, "pkgPrNewVersion": "0.0.72" }
🎭 Playwright Run Summary
43 passed (36.6s)
🎭 Playwright Run Summary
1 skipped 42 passed (45.5s)
🎭 Playwright Run Summary
43 passed (1.0m)
🎭 Playwright Run Summary
2 skipped 92 passed (1.3m)
🎭 Playwright Run Summary
1 flaky [firefox] › src/end-to-end/customblocks/customblocks.test.ts:24:7 › Check custom block functionality › Should be able to interactively update React custom blocks 16 skipped 77 passed (1.6m)
🎭 Playwright Run Summary
1 flaky [webkit] › src/end-to-end/images/images.test.ts:55:7 › Check Image Block and Toolbar functionality › Should be able to resize image 12 skipped 81 passed (2.1m)

Artifacts

Produced during runtime
Name Size Digest
blob-report-chromium-1 Expired
127 KB
sha256:ce00e345eda3e9b270614a475f598fcb2f5a8944eff57562b6e74fe186eb9142
blob-report-chromium-2 Expired
52.6 KB
sha256:3410ac5f9d0943587fb6d165ffeed8a6bc2d31eb9fbe8be0d66f85cd3f24f166
blob-report-firefox-1 Expired
296 KB
sha256:1527271ac3fd10ed3a65452b99ad34525fd3f7dba4a022e79d6079f1017bfd81
blob-report-firefox-2 Expired
52.3 KB
sha256:6e33f8816a481fa2ef11c3b3817cc5b352ee947e4d56762daf84757848142133
blob-report-webkit-1 Expired
891 KB
sha256:77247d9b92e04acf71f24f47929e8ff0c926d4fda7741b4cc9ac3c90bc8292fa
blob-report-webkit-2 Expired
53.3 KB
sha256:cb0cff0753115d8577439736a411224eefcf1204baa40ca62c33dc687ac97bfb
playwright-build Expired
21.2 MB
sha256:963a74ea39101628b670109888f8ad9c60b630fa775e4699f07d5ca5976780e7
playwright-report-chromium-1 Expired
260 KB
sha256:fa8a9b08ea75eb29ecdd2dc0abe9091b99ef0632e6e67bc6aadfe8308f3cf55d
playwright-report-chromium-2 Expired
210 KB
sha256:c3a23b21bf6495ecff29a1d23fcae43338111ad755db6600cd3f644590adce09
playwright-report-firefox-1 Expired
816 KB
sha256:7ce352754eecc7502f0482558c420a6f0feb5177d01c883c584365f949d9f366
playwright-report-firefox-2 Expired
209 KB
sha256:702f122ad226eb6fd1c411efc7c37a1ec9c3c91341bebba4d2b21ac1f7816ee7
playwright-report-merged Expired
1.46 MB
sha256:8154c724d92f3f096874d11e5d7aee5a8e3058f0388d02b35ca1bcad978db841
playwright-report-webkit-1 Expired
1.22 MB
sha256:40a0deab856f4a83d9d34be6803903fdd6df8009c372f90ca8c384739a20d603
playwright-report-webkit-2 Expired
210 KB
sha256:05202a4fc81e90533d96d744d5bf6d5d037beea2a69f4d8e94d32cabd5d40452
relative-ci-artifacts-editor
44.4 KB
sha256:1254f0d17dbc1f2ff44b976d266c9bb97ce23ace89976033f61f70055378f92f