Skip to content

fix(build): fix tailwind external subdependencies during standalone build #2009

fix(build): fix tailwind external subdependencies during standalone build

fix(build): fix tailwind external subdependencies during standalone build #2009

Triggered via pull request November 19, 2024 18:39
Status Failure
Total duration 1m 27s
Artifacts

test.yml

on: pull_request
Matrix: bun-tests
Matrix: node-tests
Fit to window
Zoom out
Zoom in

Annotations

21 errors and 4 warnings
error: incorrect header check: node:zlib#L103
at zlibOnError (node:zlib:103:21) at writeSync (native:1:1) at processChunkSync (node:zlib:201:26) at zlibBufferSync (node:zlib:91:24) at /home/runner/work/brisa/brisa/packages/brisa/src/cli/serve/serve-options.test.tsx:1036:24 at processTicksAndRejections (native:7:39)
error: Decompression failed: node:zlib#L103
at zlibOnError (node:zlib:103:21) at writeSync (native:1:1) at processChunkSync (node:zlib:201:26) at zlibBufferSync (node:zlib:91:24) at /home/runner/work/brisa/brisa/packages/brisa/src/cli/serve/serve-options.test.tsx:1121:24 at processTicksAndRejections (native:7:39)
error: incorrect header check: node:zlib#L103
at zlibOnError (node:zlib:103:21) at writeSync (native:1:1) at processChunkSync (node:zlib:201:26) at zlibBufferSync (node:zlib:91:24) at /home/runner/work/brisa/brisa/packages/brisa/src/cli/serve/serve-options.test.tsx:1036:24 at processTicksAndRejections (native:7:39)
error: Decompression failed: node:zlib#L103
at zlibOnError (node:zlib:103:21) at writeSync (native:1:1) at processChunkSync (node:zlib:201:26) at zlibBufferSync (node:zlib:91:24) at /home/runner/work/brisa/brisa/packages/brisa/src/cli/serve/serve-options.test.tsx:1121:24 at processTicksAndRejections (native:7:39)
error: incorrect header check: node:zlib#L103
at zlibOnError (node:zlib:103:21) at writeSync (native:1:1) at processChunkSync (node:zlib:201:26) at zlibBufferSync (node:zlib:91:24) at /home/runner/work/brisa/brisa/packages/brisa/src/cli/serve/serve-options.test.tsx:1036:24 at processTicksAndRejections (native:7:39)
error: Decompression failed: node:zlib#L103
at zlibOnError (node:zlib:103:21) at writeSync (native:1:1) at processChunkSync (node:zlib:201:26) at zlibBufferSync (node:zlib:91:24) at /home/runner/work/brisa/brisa/packages/brisa/src/cli/serve/serve-options.test.tsx:1121:24 at processTicksAndRejections (native:7:39)
error: incorrect header check: node:zlib#L103
at zlibOnError (node:zlib:103:21) at writeSync (native:1:1) at processChunkSync (node:zlib:201:26) at zlibBufferSync (node:zlib:91:24) at /home/runner/work/brisa/brisa/packages/brisa/src/cli/serve/serve-options.test.tsx:1036:24 at processTicksAndRejections (native:7:39)
error: Decompression failed: node:zlib#L103
at zlibOnError (node:zlib:103:21) at writeSync (native:1:1) at processChunkSync (node:zlib:201:26) at zlibBufferSync (node:zlib:91:24) at /home/runner/work/brisa/brisa/packages/brisa/src/cli/serve/serve-options.test.tsx:1121:24 at processTicksAndRejections (native:7:39)
TypeError: undefined is not an object (evaluating 'window.mockCleanup')
at cleanupAnEffect (/home/runner/work/brisa/brisa/packages/brisa/src/utils/signals/index.ts:67:33) at reset (/home/runner/work/brisa/brisa/packages/brisa/src/utils/signals/index.ts:152:7) at disconnectedCallback (/home/runner/work/brisa/brisa/packages/brisa/src/utils/brisa-element/index.ts:489:15) at [disconnectedFromDocument] (/home/runner/work/brisa/brisa/node_modules/happy-dom/lib/nodes/node/Node.js:831:18) at [disconnectedFromDocument] (/home/runner/work/brisa/brisa/node_modules/happy-dom/lib/nodes/element/Element.js:1094:30) at [disconnectedFromNode] (/home/runner/work/brisa/brisa/node_modules/happy-dom/lib/nodes/node/Node.js:756:33) at [disconnectedFromNode] (/home/runner/work/brisa/brisa/node_modules/happy-dom/lib/nodes/html-element/HTMLElement.js:505:30) at [disconnectedFromNode] (/home/runner/work/brisa/brisa/node_modules/happy-dom/lib/nodes/node/Node.js:772:42) at [disconnectedFromNode] (/home/runner/work/brisa/brisa/node_modules/happy-dom/lib/nodes/html-element/HTMLElement.js:505:30) at [disconnectedFromNode] (/home/runner/work/brisa/brisa/node_modules/happy-dom/lib/nodes/node/Node.js:772:42) at [disconnectedFromNode] (/home/runner/work/brisa/brisa/node_modules/happy-dom/lib/nodes/html-element/HTMLElement.js:505:30) at [removeChild] (/home/runner/work/brisa/brisa/node_modules/happy-dom/lib/nodes/node/Node.js:443:29) at [destroy] (/home/runner/work/brisa/brisa/node_modules/happy-dom/lib/window/BrowserWindow.js:1369:27) at /home/runner/work/brisa/brisa/node_modules/happy-dom/lib/browser/utilities/BrowserFrameFactory.js:52:49 at new Promise (1:11) at destroyFrame (/home/runner/work/brisa/brisa/node_modules/happy-dom/lib/browser/utilities/BrowserFrameFactory.js:26:16) at /home/runner/work/brisa/brisa/node_modules/happy-dom/lib/browser/utilities/BrowserPageUtility.js:31:33 at new Promise (1:11) at closePage (/home/runner/work/brisa/brisa/node_modules/happy-dom/lib/browser/utilities/BrowserPageUtility.js:22:16) at /home/runner/work/brisa/brisa/node_modules/happy-dom/lib/browser/detached-browser/DetachedBrowserPage.js:69:32 at new Promise (1:11) at close (/home/runner/work/brisa/brisa/node_modules/happy-dom/lib/browser/detached-browser/DetachedBrowserPage.js:67:16) at /home/runner/work/brisa/brisa/node_modules/@happy-dom/global-registrator/lib/GlobalRegistrator.js:80:28 at unregister (/home/runner/work/brisa/brisa/node_modules/@happy-dom/global-registrator/lib/GlobalRegistrator.js:65:31) at /home/runner/work/brisa/brisa/packages/brisa/src/utils/client-build-plugin/integration.test.tsx:60:60 at /home/runner/work/brisa/brisa/packages/brisa/src/utils/client-build-plugin/integration.test.tsx:58:15
TypeError: undefined is not an object (evaluating 'window.removeEventListener'): packages/brisa/src/utils/client-build-plugin/integration.test.tsx#L5886
at /home/runner/work/brisa/brisa/packages/brisa/src/utils/client-build-plugin/integration.test.tsx:5886:33 at cleanupAnEffect (/home/runner/work/brisa/brisa/packages/brisa/src/utils/signals/index.ts:67:33) at reset (/home/runner/work/brisa/brisa/packages/brisa/src/utils/signals/index.ts:152:7) at disconnectedCallback (/home/runner/work/brisa/brisa/packages/brisa/src/utils/brisa-element/index.ts:489:15) at [disconnectedFromDocument] (/home/runner/work/brisa/brisa/node_modules/happy-dom/lib/nodes/node/Node.js:831:18) at [disconnectedFromDocument] (/home/runner/work/brisa/brisa/node_modules/happy-dom/lib/nodes/element/Element.js:1094:30) at [disconnectedFromNode] (/home/runner/work/brisa/brisa/node_modules/happy-dom/lib/nodes/node/Node.js:756:33) at [disconnectedFromNode] (/home/runner/work/brisa/brisa/node_modules/happy-dom/lib/nodes/html-element/HTMLElement.js:505:30) at [disconnectedFromNode] (/home/runner/work/brisa/brisa/node_modules/happy-dom/lib/nodes/node/Node.js:772:42) at [disconnectedFromNode] (/home/runner/work/brisa/brisa/node_modules/happy-dom/lib/nodes/html-element/HTMLElement.js:505:30) at [disconnectedFromNode] (/home/runner/work/brisa/brisa/node_modules/happy-dom/lib/nodes/node/Node.js:772:42) at [disconnectedFromNode] (/home/runner/work/brisa/brisa/node_modules/happy-dom/lib/nodes/html-element/HTMLElement.js:505:30) at [removeChild] (/home/runner/work/brisa/brisa/node_modules/happy-dom/lib/nodes/node/Node.js:443:29) at [destroy] (/home/runner/work/brisa/brisa/node_modules/happy-dom/lib/window/BrowserWindow.js:1369:27) at /home/runner/work/brisa/brisa/node_modules/happy-dom/lib/browser/utilities/BrowserFrameFactory.js:52:49 at new Promise (1:11) at destroyFrame (/home/runner/work/brisa/brisa/node_modules/happy-dom/lib/browser/utilities/BrowserFrameFactory.js:26:16) at /home/runner/work/brisa/brisa/node_modules/happy-dom/lib/browser/utilities/BrowserPageUtility.js:31:33 at new Promise (1:11) at closePage (/home/runner/work/brisa/brisa/node_modules/happy-dom/lib/browser/utilities/BrowserPageUtility.js:22:16) at /home/runner/work/brisa/brisa/node_modules/happy-dom/lib/browser/detached-browser/DetachedBrowserPage.js:69:32 at new Promise (1:11) at close (/home/runner/work/brisa/brisa/node_modules/happy-dom/lib/browser/detached-browser/DetachedBrowserPage.js:67:16) at /home/runner/work/brisa/brisa/node_modules/@happy-dom/global-registrator/lib/GlobalRegistrator.js:80:28 at unregister (/home/runner/work/brisa/brisa/node_modules/@happy-dom/global-registrator/lib/GlobalRegistrator.js:65:31) at /home/runner/work/brisa/brisa/packages/brisa/src/utils/client-build-plugin/integration.test.tsx:60:60 at /home/runner/work/brisa/brisa/packages/brisa/src/utils/client-build-plugin/integration.test.tsx:58:15
bun-tests (macos-latest)
The job was canceled because "ubuntu-latest" failed.
error: expect(received).not.toHaveBeenCalled(): packages/brisa/src/utils/compile-assets/index.test.ts#L82
Expected number of calls: 0 Received number of calls: 2 at /Users/runner/work/brisa/brisa/packages/brisa/src/utils/compile-assets/index.test.ts:82:21
error: expect(received).toEqual(expected): packages/brisa/src/utils/compile-assets/index.test.ts#L101
Expected: "<?xml version=\"1.0\" encoding=\"UTF-8\"?><urlset xmlns=\"http://www.sitemaps.org/schemas/sitemap/0.9\"><url><loc>https://example.com</loc><lastmod>2021-10-01T00:00:00.000Z</lastmod><changefreq>daily</changefreq><priority>1.0</priority><image:image><image:loc>https://example.com/image.jpg</image:loc><image:title>Image title</image:title><image:caption>Image caption</image:caption></image:image></url></urlset>" Received: "" at /Users/runner/work/brisa/brisa/packages/brisa/src/utils/compile-assets/index.test.ts:101:65
TypeError: window.mockCleanup is not a function. (In 'window.mockCleanup()'
at cleanupAnEffect (/Users/runner/work/brisa/brisa/packages/brisa/src/utils/signals/index.ts:67:33) at reset (/Users/runner/work/brisa/brisa/packages/brisa/src/utils/signals/index.ts:152:7) at disconnectedCallback (/Users/runner/work/brisa/brisa/packages/brisa/src/utils/brisa-element/index.ts:489:15) at [disconnectedFromDocument] (/Users/runner/work/brisa/brisa/node_modules/happy-dom/lib/nodes/node/Node.js:831:18) at [disconnectedFromDocument] (/Users/runner/work/brisa/brisa/node_modules/happy-dom/lib/nodes/element/Element.js:1094:30) at [disconnectedFromNode] (/Users/runner/work/brisa/brisa/node_modules/happy-dom/lib/nodes/node/Node.js:756:33) at [disconnectedFromNode] (/Users/runner/work/brisa/brisa/node_modules/happy-dom/lib/nodes/html-element/HTMLElement.js:505:30) at [disconnectedFromNode] (/Users/runner/work/brisa/brisa/node_modules/happy-dom/lib/nodes/node/Node.js:772:42) at [disconnectedFromNode] (/Users/runner/work/brisa/brisa/node_modules/happy-dom/lib/nodes/html-element/HTMLElement.js:505:30) at [disconnectedFromNode] (/Users/runner/work/brisa/brisa/node_modules/happy-dom/lib/nodes/node/Node.js:772:42) at [disconnectedFromNode] (/Users/runner/work/brisa/brisa/node_modules/happy-dom/lib/nodes/html-element/HTMLElement.js:505:30) at [removeChild] (/Users/runner/work/brisa/brisa/node_modules/happy-dom/lib/nodes/node/Node.js:443:29) at [destroy] (/Users/runner/work/brisa/brisa/node_modules/happy-dom/lib/window/BrowserWindow.js:1369:27) at /Users/runner/work/brisa/brisa/node_modules/happy-dom/lib/browser/utilities/BrowserFrameFactory.js:52:49 at new Promise (1:11) at destroyFrame (/Users/runner/work/brisa/brisa/node_modules/happy-dom/lib/browser/utilities/BrowserFrameFactory.js:26:16) at /Users/runner/work/brisa/brisa/node_modules/happy-dom/lib/browser/utilities/BrowserPageUtility.js:31:33 at new Promise (1:11) at closePage (/Users/runner/work/brisa/brisa/node_modules/happy-dom/lib/browser/utilities/BrowserPageUtility.js:22:16) at /Users/runner/work/brisa/brisa/node_modules/happy-dom/lib/browser/detached-browser/DetachedBrowserPage.js:69:32 at new Promise (1:11) at close (/Users/runner/work/brisa/brisa/node_modules/happy-dom/lib/browser/detached-browser/DetachedBrowserPage.js:67:16) at /Users/runner/work/brisa/brisa/node_modules/@happy-dom/global-registrator/lib/GlobalRegistrator.js:80:28 at unregister (/Users/runner/work/brisa/brisa/node_modules/@happy-dom/global-registrator/lib/GlobalRegistrator.js:65:31) at /Users/runner/work/brisa/brisa/packages/brisa/src/utils/client-build-plugin/integration.test.tsx:60:60 at /Users/runner/work/brisa/brisa/packages/brisa/src/utils/client-build-plugin/integration.test.tsx:58:15
error: incorrect header check: node:zlib#L103
at zlibOnError (node:zlib:103:21) at writeSync (native:1:1) at processChunkSync (node:zlib:201:26) at zlibBufferSync (node:zlib:91:24) at /Users/runner/work/brisa/brisa/packages/brisa/src/cli/serve/serve-options.test.tsx:1036:24 at processTicksAndRejections (native:7:39)
error: Decompression failed: node:zlib#L103
at zlibOnError (node:zlib:103:21) at writeSync (native:1:1) at processChunkSync (node:zlib:201:26) at zlibBufferSync (node:zlib:91:24) at /Users/runner/work/brisa/brisa/packages/brisa/src/cli/serve/serve-options.test.tsx:1121:24 at processTicksAndRejections (native:7:39)
error: incorrect header check: node:zlib#L103
at zlibOnError (node:zlib:103:21) at writeSync (native:1:1) at processChunkSync (node:zlib:201:26) at zlibBufferSync (node:zlib:91:24) at /Users/runner/work/brisa/brisa/packages/brisa/src/cli/serve/serve-options.test.tsx:1036:24 at processTicksAndRejections (native:7:39)
error: Decompression failed: node:zlib#L103
at zlibOnError (node:zlib:103:21) at writeSync (native:1:1) at processChunkSync (node:zlib:201:26) at zlibBufferSync (node:zlib:91:24) at /Users/runner/work/brisa/brisa/packages/brisa/src/cli/serve/serve-options.test.tsx:1121:24 at processTicksAndRejections (native:7:39)
error: incorrect header check: node:zlib#L103
at zlibOnError (node:zlib:103:21) at writeSync (native:1:1) at processChunkSync (node:zlib:201:26) at zlibBufferSync (node:zlib:91:24) at /Users/runner/work/brisa/brisa/packages/brisa/src/cli/serve/serve-options.test.tsx:1036:24 at processTicksAndRejections (native:7:39)
bun-tests (windows-latest)
The job was canceled because "ubuntu-latest" failed.
bun-tests (windows-latest)
The operation was canceled.
node-tests (ubuntu-latest)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
node-tests (macos-latest)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
bun-tests (ubuntu-latest)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
node-tests (windows-latest)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/