Release 14.0.0 #8
Triggered via pull request
September 27, 2024 11:02
Status
Failure
Total duration
1m 31s
Artifacts
–
main.yml
on: pull_request
Check workflows
7s
Matrix: Lint, build, and test / Test
Matrix: Lint, build, and test / Validate changelog
Determine whether this is a release merge commit
0s
All jobs pass
0s
Publish release
/
publish-npm
Annotations
28 errors and 1 warning
Lint, build, and test / Validate changelog (@metamask/eslint-config-vitest)
Process completed with exit code 1.
|
Lint, build, and test / Validate changelog (@metamask/eslint-config)
The job was canceled because "_metamask_eslint-config-v" failed.
|
Lint, build, and test / Validate changelog (@metamask/eslint-config-commonjs)
The job was canceled because "_metamask_eslint-config-v" failed.
|
Lint, build, and test / Validate changelog (@metamask/eslint-config-jest)
The job was canceled because "_metamask_eslint-config-v" failed.
|
Lint, build, and test / Validate changelog (@metamask/eslint-config-browser)
The job was canceled because "_metamask_eslint-config-v" failed.
|
src/index.test.mjs > index > is a valid ESLint config:
packages/base/src/index.test.mjs#L12
SyntaxError: Named export 'createConfig' not found. The requested module '@metamask/eslint-config' 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 '@metamask/eslint-config';
const { createConfig } = pkg;
❯ loadFlatConfigFile ../../node_modules/eslint/lib/eslint/eslint.js:390:21
❯ calculateConfigArray ../../node_modules/eslint/lib/eslint/eslint.js:473:28
❯ ESLint.lintText ../../node_modules/eslint/lib/eslint/eslint.js:1114:25
❯ src/index.test.mjs:12:20
|
src/index.test.mjs:
packages/browser/src/index.mjs#L12
TypeError: createConfig is not a function
❯ src/index.mjs:12:16
❯ src/index.test.mjs:3:31
|
src/index.test.mjs:
packages/commonjs/src/index.mjs#L12
TypeError: createConfig is not a function
❯ src/index.mjs:12:16
❯ src/index.test.mjs:3:31
|
src/index.test.mjs:
packages/mocha/src/index.mjs#L9
TypeError: createConfig is not a function
❯ src/index.mjs:9:16
❯ src/index.test.mjs:3:31
|
src/index.test.mjs:
packages/jest/src/index.mjs#L8
TypeError: createConfig is not a function
❯ src/index.mjs:8:16
❯ src/index.test.mjs:3:31
|
src/index.test.mjs:
packages/nodejs/src/index.mjs#L13
TypeError: createConfig is not a function
❯ src/index.mjs:13:16
❯ src/index.test.mjs:3:31
|
src/index.test.mjs:
packages/typescript/src/index.mjs#L9
TypeError: createConfig is not a function
❯ src/index.mjs:9:16
❯ src/index.test.mjs:5:31
|
Lint, build, and test / Test (20.x)
Process completed with exit code 1.
|
Lint, build, and test / Validate changelog (@metamask/eslint-config-nodejs)
The job was canceled because "_metamask_eslint-config-v" failed.
|
Lint, build, and test / Validate changelog (@metamask/eslint-config-nodejs)
The operation was canceled.
|
Lint, build, and test / Validate changelog (@metamask/eslint-config-typescript)
The job was canceled because "_metamask_eslint-config-v" failed.
|
Lint, build, and test / Validate changelog (@metamask/eslint-config-typescript)
The operation was canceled.
|
Lint, build, and test / Test (18.x)
The job was canceled because "_20_x" failed.
|
src/index.test.mjs:
packages/browser/src/index.mjs#L12
TypeError: createConfig is not a function
❯ src/index.mjs:12:16
❯ src/index.test.mjs:3:31
|
src/index.test.mjs > index > is a valid ESLint config:
packages/base/src/index.test.mjs#L12
SyntaxError: Named export 'createConfig' not found. The requested module '@metamask/eslint-config' 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 '@metamask/eslint-config';
const { createConfig } = pkg;
❯ loadFlatConfigFile ../../node_modules/eslint/lib/eslint/eslint.js:390:21
❯ calculateConfigArray ../../node_modules/eslint/lib/eslint/eslint.js:473:28
❯ ESLint.lintText ../../node_modules/eslint/lib/eslint/eslint.js:1114:25
❯ src/index.test.mjs:12:20
|
src/index.test.mjs:
packages/commonjs/src/index.mjs#L12
TypeError: createConfig is not a function
❯ src/index.mjs:12:16
❯ src/index.test.mjs:3:31
|
src/index.test.mjs:
packages/jest/src/index.mjs#L8
TypeError: createConfig is not a function
❯ src/index.mjs:8:16
❯ src/index.test.mjs:3:31
|
src/index.test.mjs:
packages/mocha/src/index.mjs#L9
TypeError: createConfig is not a function
❯ src/index.mjs:9:16
❯ src/index.test.mjs:3:31
|
src/index.test.mjs:
packages/nodejs/src/index.mjs#L13
TypeError: createConfig is not a function
❯ src/index.mjs:13:16
❯ src/index.test.mjs:3:31
|
src/index.test.mjs:
packages/typescript/src/index.mjs#L9
TypeError: createConfig is not a function
❯ src/index.mjs:9:16
❯ src/index.test.mjs:5:31
|
Lint, build, and test / Test (18.x)
Process completed with exit code 1.
|
Lint, build, and test / Lint
Process completed with exit code 2.
|
All jobs pass
Process completed with exit code 1.
|
Check workflows
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|