ci(commitlint): update config to a common js file #793
Annotations
1 error and 1 warning
Check commits messages
You have commit messages with errors
error running commitlint
require() of ES Module /github/workspace/node_modules/.pnpm/@commitlint[email protected]/node_modules/@commitlint/config-conventional/lib/index.js from /node_modules/@commitlint/resolve-extends/lib/index.js not supported.
Instead change the require of /github/workspace/node_modules/.pnpm/@commitlint[email protected]/node_modules/@commitlint/config-conventional/lib/index.js in /node_modules/@commitlint/resolve-extends/lib/index.js to a dynamic import() which is available in all CommonJS modules.
Error [ERR_REQUIRE_ESM]: require() of ES Module /github/workspace/node_modules/.pnpm/@commitlint[email protected]/node_modules/@commitlint/config-conventional/lib/index.js from /node_modules/@commitlint/resolve-extends/lib/index.js not supported.
Instead change the require of /github/workspace/node_modules/.pnpm/@commitlint[email protected]/node_modules/@commitlint/config-conventional/lib/index.js in /node_modules/@commitlint/resolve-extends/lib/index.js to a dynamic import() which is available in all CommonJS modules.
at /node_modules/@commitlint/resolve-extends/lib/index.js:48:19
at Array.reduce (<anonymous>)
at loadExtends (/node_modules/@commitlint/resolve-extends/lib/index.js:45:16)
at resolveExtends (/node_modules/@commitlint/resolve-extends/lib/index.js:25:22)
at Object.load [as default] (/node_modules/@commitlint/load/lib/load.js:42:52)
at async showLintResults (/run.js:143:8)
|
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v3, pnpm/action-setup@v2, actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Loading