Skip to content

feat: Write stats outside of the compilation #719

feat: Write stats outside of the compilation

feat: Write stats outside of the compilation #719

Triggered via pull request January 9, 2025 23:01
Status Failure
Total duration 1m 19s
Artifacts 1

ci.yml

on: pull_request
Matrix: test-package
publish
0s
publish
Fit to window
Zoom out
Zoom in

Annotations

16 errors and 9 warnings
test/package/package.test.js: test/package/rollup.config.js#L3
SyntaxError: Named export 'b' not found. The requested module './transform-TtCLbYQ4.js' is a CommonJS module, which may not support all module.exports as named exports. CommonJS modules can always be imported via the default export, for example using: import pkg from './transform-TtCLbYQ4.js'; const { b: bundleToWebpackStats, r: resolveFilepath, f: formatFileSize } = pkg; ❯ test/package/rollup.config.js:3:31
Test package on node 20 / ubuntu-latest / rollup v4
Process completed with exit code 1.
test/package/package.test.js > package test > should output bundle stats JSON file when options is an object: test/package/package.test.js#L10
AssertionError: expected undefined to match object { fileName: 'webpack-stats.json' } - Expected: Object { "fileName": "webpack-stats.json", } + Received: undefined ❯ test/package/package.test.js:10:27
test/package/package.test.js > package test > should output bundle stats JSON file when options is a builder function: test/package/package.test.js#L18
AssertionError: expected undefined to match object { fileName: 'stats-dist2.json' } - Expected: Object { "fileName": "stats-dist2.json", } + Received: undefined ❯ test/package/package.test.js:18:27
Test package on node 22 / windows-latest / rollup v3
Process completed with exit code 1.
test/package/package.test.js > package test > should output bundle stats JSON file when options is an object: test/package/package.test.js#L10
AssertionError: expected undefined to match object { fileName: 'webpack-stats.json' } - Expected: Object { "fileName": "webpack-stats.json", } + Received: undefined ❯ test/package/package.test.js:10:27
test/package/package.test.js > package test > should output bundle stats JSON file when options is a builder function: test/package/package.test.js#L18
AssertionError: expected undefined to match object { fileName: 'stats-dist2.json' } - Expected: Object { "fileName": "stats-dist2.json", } + Received: undefined ❯ test/package/package.test.js:18:27
Test package on node 22 / ubuntu-latest / rollup v4
Process completed with exit code 1.
test/package/package.test.js: test/package/rollup.config.js#L3
SyntaxError: Named export 'b' not found. The requested module './transform-TtCLbYQ4.js' is a CommonJS module, which may not support all module.exports as named exports. CommonJS modules can always be imported via the default export, for example using: import pkg from './transform-TtCLbYQ4.js'; const { b: bundleToWebpackStats, r: resolveFilepath, f: formatFileSize } = pkg; ❯ test/package/rollup.config.js:3:31
Test package on node 18 / ubuntu-latest / rollup v4
Process completed with exit code 1.
test/package/package.test.js > package test > should output bundle stats JSON file when options is an object: test/package/package.test.js#L10
AssertionError: expected undefined to match object { fileName: 'webpack-stats.json' } - Expected: Object { "fileName": "webpack-stats.json", } + Received: undefined ❯ test/package/package.test.js:10:27
test/package/package.test.js > package test > should output bundle stats JSON file when options is a builder function: test/package/package.test.js#L18
AssertionError: expected undefined to match object { fileName: 'stats-dist2.json' } - Expected: Object { "fileName": "stats-dist2.json", } + Received: undefined ❯ test/package/package.test.js:18:27
Test package on node 22 / windows-latest / rollup v4
Process completed with exit code 1.
test/package/package.test.js > package test > should output bundle stats JSON file when options is an object: test/package/package.test.js#L10
AssertionError: expected undefined to match object { fileName: 'webpack-stats.json' } - Expected: Object { "fileName": "webpack-stats.json", } + Received: undefined ❯ test/package/package.test.js:10:27
test/package/package.test.js > package test > should output bundle stats JSON file when options is a builder function: test/package/package.test.js#L18
AssertionError: expected undefined to match object { fileName: 'stats-dist2.json' } - Expected: Object { "fileName": "stats-dist2.json", } + Received: undefined ❯ test/package/package.test.js:18:27
Test package on node 22 / ubuntu-latest / rollup v3
Process completed with exit code 1.
lint
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
build
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
test-unit
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Test package on node 20 / ubuntu-latest / rollup v4
Both node-version and node-version-file inputs are specified, only node-version will be used
Test package on node 22 / windows-latest / rollup v3
Both node-version and node-version-file inputs are specified, only node-version will be used
Test package on node 22 / ubuntu-latest / rollup v4
Both node-version and node-version-file inputs are specified, only node-version will be used
Test package on node 18 / ubuntu-latest / rollup v4
Both node-version and node-version-file inputs are specified, only node-version will be used
Test package on node 22 / windows-latest / rollup v4
Both node-version and node-version-file inputs are specified, only node-version will be used
Test package on node 22 / ubuntu-latest / rollup v3
Both node-version and node-version-file inputs are specified, only node-version will be used

Artifacts

Produced during runtime
Name Size
build-artifacts Expired
14.2 KB