Skip to content

chore: Use type: "module" and build to cjs/mjs #496

chore: Use type: "module" and build to cjs/mjs

chore: Use type: "module" and build to cjs/mjs #496

Triggered via pull request January 28, 2026 15:47
@pan-kotpan-kot
synchronize #190
esm-friendly
Status Failure
Total duration 19m 48s
Artifacts 2

dry-run.yml

on: pull_request
dry-run  /  Create build tree
4s
dry-run / Create build tree
dry-run  /  Build browser-test-tools
5s
dry-run / Build browser-test-tools
dry-run  /  Build documenter
4s
dry-run / Build documenter
dry-run  /  Build global-styles
3s
dry-run / Build global-styles
dry-run  /  Build build-tools
6s
dry-run / Build build-tools
dry-run  /  Build collection-hooks
6s
dry-run / Build collection-hooks
dry-run  /  Build jest-preset
5s
dry-run / Build jest-preset
dry-run  /  Build component-toolkit
1m 21s
dry-run / Build component-toolkit
dry-run  /  Build test-utils
3s
dry-run / Build test-utils
dry-run  /  Build theming-core
1m 1s
dry-run / Build theming-core
Matrix: dry-run / buildComponents
Matrix: dry-run / Components accessibility tests shards
Matrix: dry-run / integTestShards
dry-run  /  Components unit tests
2m 40s
dry-run / Components unit tests
Matrix: dry-run / motionTest
dry-run  /  Build board components
0s
dry-run / Build board components
dry-run  /  Build code view components
0s
dry-run / Build code view components
dry-run  /  Build chat components
0s
dry-run / Build chat components
dry-run  /  Build chart components
0s
dry-run / Build chart components
dry-run  /  Components accessibility tests
0s
dry-run / Components accessibility tests
dry-run  /  Components integration tests
0s
dry-run / Components integration tests
dry-run  /  Demos tests
0s
dry-run / Demos tests
Fit to window
Zoom out
Zoom in

Annotations

22 errors and 64 warnings
dry-run / Components integration tests shards (React 16, shard 2/4)
Process completed with exit code 1.
dry-run / Components accessibility tests shards (2/6)
Process completed with exit code 1.
dry-run / Components accessibility tests shards (5/6)
The strategy configuration was canceled because "dry-run.a11yTestShards._2_6" failed
dry-run / Components accessibility tests shards (5/6)
Process completed with exit code 1.
dry-run / Components motion tests (React 16)
Process completed with exit code 1.
dry-run / Components integration tests shards (React 16, shard 4/4)
Process completed with exit code 1.
dry-run / Components accessibility tests shards (4/6)
The strategy configuration was canceled because "dry-run.a11yTestShards._2_6" failed
dry-run / Components accessibility tests shards (4/6)
The operation was canceled.
dry-run / Components unit tests
Process completed with exit code 1.
dry-run / Components motion tests (React 18)
The strategy configuration was canceled because "dry-run.motionTest._16" failed
dry-run / Components motion tests (React 18)
The operation was canceled.
dry-run / Components accessibility tests shards (3/6)
The strategy configuration was canceled because "dry-run.a11yTestShards._2_6" failed
dry-run / Components accessibility tests shards (3/6)
The operation was canceled.
dry-run / Components integration tests shards (React 16, shard 3/4)
Process completed with exit code 1.
dry-run / Components accessibility tests shards (1/6)
The strategy configuration was canceled because "dry-run.a11yTestShards._2_6" failed
dry-run / Components accessibility tests shards (1/6)
The operation was canceled.
dry-run / Components integration tests shards (React 16, shard 1/4)
Process completed with exit code 1.
dry-run / Components accessibility tests shards (6/6)
The strategy configuration was canceled because "dry-run.a11yTestShards._2_6" failed
dry-run / Components accessibility tests shards (6/6)
The operation was canceled.
dry-run / Build components
Process completed with exit code 1.
dry-run / Build components (React 18)
The strategy configuration was canceled because "dry-run.buildComponents._16" failed
dry-run / Build components (React 18)
The operation was canceled.
dry-run / Build component-toolkit: src/internal/locale/normalize-locale.ts#L29
Unexpected 'todo' comment: 'TODO: support full BCP 47 spec?'
dry-run / Build component-toolkit: src/internal/container-queries/use-resize-observer.ts#L39
Unexpected 'todo' comment: 'TODO: A possible solution would be to...'
dry-run / Build theming-core
Unexpected any. Specify a different type
dry-run / Build theming-core
Unexpected any. Specify a different type
dry-run / Build theming-core
'hex' is defined but never used
dry-run / Build theming-core
'itemB' is defined but never used
dry-run / Build theming-core
'itemA' is defined but never used
dry-run / Build theming-core
Unexpected any. Specify a different type
dry-run / Build theming-core
'value' is assigned a value but never used
dry-run / Build theming-core
Unexpected any. Specify a different type
dry-run / Build theming-core
Unexpected any. Specify a different type
dry-run / Build theming-core
Unexpected any. Specify a different type
RETRY 3: should recover column widths when the inner state is reset: src/table/__integ__/resizable-columns.test.ts#L349
expect(received).toEqual(expected) // deep equality Expected: 130 Received: 230 at src/table/__integ__/resizable-columns.test.ts:349:22 at src/table/__integ__/resizable-columns.test.ts:151:5 at Object.<anonymous> (node_modules/@cloudscape-design/browser-test-tools/use-browser.js:36:13)
RETRY 2: should recover column widths when the inner state is reset: src/table/__integ__/resizable-columns.test.ts#L349
expect(received).toEqual(expected) // deep equality Expected: 130 Received: 230 at src/table/__integ__/resizable-columns.test.ts:349:22 at src/table/__integ__/resizable-columns.test.ts:151:5 at Object.<anonymous> (node_modules/@cloudscape-design/browser-test-tools/use-browser.js:36:13)
RETRY 1: should recover column widths when the inner state is reset: src/table/__integ__/resizable-columns.test.ts#L349
expect(received).toEqual(expected) // deep equality Expected: 130 Received: 230 at src/table/__integ__/resizable-columns.test.ts:349:22 at src/table/__integ__/resizable-columns.test.ts:151:5 at Object.<anonymous> (node_modules/@cloudscape-design/browser-test-tools/use-browser.js:36:13)
RETRY 2: ButtonDropdown › Emits a single mark: src/button-dropdown/__integ__/performance-marks.test.ts#L34
expect(received).toHaveLength(expected) Expected length: 1 Received length: 0 Received array: [] at src/button-dropdown/__integ__/performance-marks.test.ts:34:21 at src/button-dropdown/__integ__/performance-marks.test.ts:24:5 at Object.<anonymous> (node_modules/@cloudscape-design/browser-test-tools/use-browser.js:36:13)
RETRY 1: ButtonDropdown › Emits a single mark: src/button-dropdown/__integ__/performance-marks.test.ts#L34
expect(received).toHaveLength(expected) Expected length: 1 Received length: 0 Received array: [] at src/button-dropdown/__integ__/performance-marks.test.ts:34:21 at src/button-dropdown/__integ__/performance-marks.test.ts:24:5 at Object.<anonymous> (node_modules/@cloudscape-design/browser-test-tools/use-browser.js:36:13)
dry-run / Components integration tests shards (React 18, shard 3/4)
Tests should not be skipped
dry-run / Components integration tests shards (React 18, shard 3/4)
Unexpected 'todo' comment: 'todo - investigate why resize observer...'
dry-run / Components integration tests shards (React 18, shard 3/4)
Unexpected 'todo' comment: 'todo: resolve split panel positioning...'
dry-run / Components integration tests shards (React 18, shard 3/4)
Unexpected 'todo' comment: 'TODO: Pretty-print original JSX,...'
dry-run / Components integration tests shards (React 18, shard 3/4)
JSX element uses aria-live property. Prefer using LiveRegion component instead
dry-run / Components integration tests shards (React 18, shard 3/4)
JSX element uses aria-live property. Prefer using LiveRegion component instead
dry-run / Components integration tests shards (React 18, shard 3/4)
JSX element uses aria-live property. Prefer using LiveRegion component instead
dry-run / Components integration tests shards (React 18, shard 3/4)
JSX element uses aria-live property. Prefer using LiveRegion component instead
dry-run / Components integration tests shards (React 18, shard 3/4)
Unexpected 'todo' comment: 'TODO: Replace this with Select'
dry-run / Components integration tests shards (React 18, shard 3/4)
Unexpected 'todo' comment: 'TODO: uncomment when we add...'
RETRY 1: refresh › automatically shrinks split panel when screen resizes (bottom position): src/app-layout/__integ__/app-layout-split-panel.test.ts#L225
expect(received).toBeLessThan(expected) Expected: < 356.5 Received: 356.5 at src/app-layout/__integ__/app-layout-split-panel.test.ts:225:25 at src/app-layout/__integ__/app-layout-split-panel.test.ts:27:7 at Object.<anonymous> (node_modules/@cloudscape-design/browser-test-tools/use-browser.js:36:13)
dry-run / Components integration tests shards (React 18, shard 4/4)
Tests should not be skipped
dry-run / Components integration tests shards (React 18, shard 4/4)
Unexpected 'todo' comment: 'todo - investigate why resize observer...'
dry-run / Components integration tests shards (React 18, shard 4/4)
Unexpected 'todo' comment: 'todo: resolve split panel positioning...'
dry-run / Components integration tests shards (React 18, shard 4/4)
Unexpected 'todo' comment: 'TODO: Pretty-print original JSX,...'
dry-run / Components integration tests shards (React 18, shard 4/4)
JSX element uses aria-live property. Prefer using LiveRegion component instead
dry-run / Components integration tests shards (React 18, shard 4/4)
JSX element uses aria-live property. Prefer using LiveRegion component instead
dry-run / Components integration tests shards (React 18, shard 4/4)
JSX element uses aria-live property. Prefer using LiveRegion component instead
dry-run / Components integration tests shards (React 18, shard 4/4)
JSX element uses aria-live property. Prefer using LiveRegion component instead
dry-run / Components integration tests shards (React 18, shard 4/4)
Unexpected 'todo' comment: 'TODO: Replace this with Select'
dry-run / Components integration tests shards (React 18, shard 4/4)
Unexpected 'todo' comment: 'TODO: uncomment when we add...'
RETRY 1: Multi app layout navigation › iframe=true › should clean up and restore previous breadcrumb state: undefined#L0
Unexpected errors in browser console: [ { "level": "SEVERE", "message": "http://localhost:8080/awsui.js 64351:16 \"Missing AWS-UI CSS for theme \\\"default\\\", version \\\"3.0.0 (589c8629)\\\", and git sha \\\"589c8629\\\".\"", "source": "console-api", "timestamp": 1769616120321 } ] at Object.<anonymous> (node_modules/@cloudscape-design/browser-test-tools/use-browser.js:42:27)
RETRY 2: Multi app layout navigation › iframe=true › should clean up and restore previous route state: undefined#L0
Unexpected errors in browser console: [ { "level": "SEVERE", "message": "http://localhost:8080/awsui.js 64351:16 \"Missing AWS-UI CSS for theme \\\"default\\\", version \\\"3.0.0 (589c8629)\\\", and git sha \\\"589c8629\\\".\"", "source": "console-api", "timestamp": 1769616141805 } ] at Object.<anonymous> (node_modules/@cloudscape-design/browser-test-tools/use-browser.js:42:27)
RETRY 1: Multi app layout navigation › iframe=true › should clean up and restore previous route state: undefined#L0
Unexpected errors in browser console: [ { "level": "SEVERE", "message": "http://localhost:8080/awsui.js 64351:16 \"Missing AWS-UI CSS for theme \\\"default\\\", version \\\"3.0.0 (589c8629)\\\", and git sha \\\"589c8629\\\".\"", "source": "console-api", "timestamp": 1769616092506 } ] at Object.<anonymous> (node_modules/@cloudscape-design/browser-test-tools/use-browser.js:42:27)
RETRY 1: Can reset controlled value: src/code-editor/__integ__/code-editor.test.ts#L112
expect(received).resolves.toEqual(expected) // deep equality - Expected - 1 + Received + 1 const pi = 3.14; - abcde + ab at Object.toEqual (node_modules/expect/build/index.js:174:22) at src/code-editor/__integ__/code-editor.test.ts:112:52 at src/code-editor/__integ__/code-editor.test.ts:91:5 at Object.<anonymous> (node_modules/@cloudscape-design/browser-test-tools/use-browser.js:36:13)
dry-run / Components integration tests shards (React 18, shard 1/4)
Tests should not be skipped
dry-run / Components integration tests shards (React 18, shard 1/4)
Unexpected 'todo' comment: 'todo - investigate why resize observer...'
dry-run / Components integration tests shards (React 18, shard 1/4)
Unexpected 'todo' comment: 'todo: resolve split panel positioning...'
dry-run / Components integration tests shards (React 18, shard 1/4)
Unexpected 'todo' comment: 'TODO: Pretty-print original JSX,...'
dry-run / Components integration tests shards (React 18, shard 1/4)
JSX element uses aria-live property. Prefer using LiveRegion component instead
dry-run / Components integration tests shards (React 18, shard 1/4)
JSX element uses aria-live property. Prefer using LiveRegion component instead
dry-run / Components integration tests shards (React 18, shard 1/4)
JSX element uses aria-live property. Prefer using LiveRegion component instead
dry-run / Components integration tests shards (React 18, shard 1/4)
JSX element uses aria-live property. Prefer using LiveRegion component instead
dry-run / Components integration tests shards (React 18, shard 1/4)
Unexpected 'todo' comment: 'TODO: Replace this with Select'
dry-run / Components integration tests shards (React 18, shard 1/4)
Unexpected 'todo' comment: 'TODO: uncomment when we add...'
RETRY 1: Details popover › can be pinned and unpinned in a bar chart with mouse: src/mixed-line-bar-chart/__integ__/mixed-line-bar-chart.test.ts#L356
expect(received).resolves.toBe(expected) // Object.is equality Expected: false Received: true at Object.toBe (node_modules/expect/build/index.js:174:22) at src/mixed-line-bar-chart/__integ__/mixed-line-bar-chart.test.ts:356:72 at src/mixed-line-bar-chart/__integ__/common.ts:54:5 at Object.<anonymous> (node_modules/@cloudscape-design/browser-test-tools/use-browser.js:36:13)
RETRY 1: Multi page layout navigation › should keep toolbars and breadcrumbs state independently in both layouts: undefined#L0
Unexpected errors in browser console: [ { "level": "SEVERE", "message": "http://localhost:8080/awsui.js 64351:16 \"Missing AWS-UI CSS for theme \\\"default\\\", version \\\"3.0.0 (589c8629)\\\", and git sha \\\"589c8629\\\".\"", "source": "console-api", "timestamp": 1769616039225 } ] at Object.<anonymous> (node_modules/@cloudscape-design/browser-test-tools/use-browser.js:42:27)
dry-run / Components integration tests shards (React 18, shard 2/4)
Tests should not be skipped
dry-run / Components integration tests shards (React 18, shard 2/4)
Unexpected 'todo' comment: 'todo - investigate why resize observer...'
dry-run / Components integration tests shards (React 18, shard 2/4)
Unexpected 'todo' comment: 'todo: resolve split panel positioning...'
dry-run / Components integration tests shards (React 18, shard 2/4)
Unexpected 'todo' comment: 'TODO: Pretty-print original JSX,...'
dry-run / Components integration tests shards (React 18, shard 2/4)
JSX element uses aria-live property. Prefer using LiveRegion component instead
dry-run / Components integration tests shards (React 18, shard 2/4)
JSX element uses aria-live property. Prefer using LiveRegion component instead
dry-run / Components integration tests shards (React 18, shard 2/4)
JSX element uses aria-live property. Prefer using LiveRegion component instead
dry-run / Components integration tests shards (React 18, shard 2/4)
JSX element uses aria-live property. Prefer using LiveRegion component instead
dry-run / Components integration tests shards (React 18, shard 2/4)
Unexpected 'todo' comment: 'TODO: Replace this with Select'
dry-run / Components integration tests shards (React 18, shard 2/4)
Unexpected 'todo' comment: 'TODO: uncomment when we add...'

Artifacts

Produced during runtime
Name Size Digest
cloudscape-design-component-toolkit
57.6 KB
sha256:6e5cd3e9945403b824453966a43bde1d569cd1aefc76a3dc483068a185a819b6
cloudscape-design-theming-core
67.2 KB
sha256:ac8ad4156a53c3cc1c406968ac5f6c11488170e8f9a53fd2764e1abe8a962b98