fix: fix backwards compatibility with people using commitlint.config.js #2210
commitlint.yml
on: push
commitlint
1m 3s
commitlint-pulling-from-docker-hub
33s
Annotations
1 error and 2 warnings
commitlint-pulling-from-docker-hub
You have commit messages with errors
error running commitlint
require() of ES Module /github/workspace/node_modules/@commitlint/ensure/lib/index.js from /github/workspace/commitlint.config.js not supported.
Instead change the require of index.js in /github/workspace/commitlint.config.js to a dynamic import() which is available in all CommonJS modules.
Error [ERR_REQUIRE_ESM]: require() of ES Module /github/workspace/node_modules/@commitlint/ensure/lib/index.js from /github/workspace/commitlint.config.js not supported.
Instead change the require of index.js in /github/workspace/commitlint.config.js to a dynamic import() which is available in all CommonJS modules.
at Object.<anonymous> (/github/workspace/commitlint.config.js:2:27)
at async loadJs (/node_modules/@commitlint/load/node_modules/cosmiconfig/dist/loaders.js:23:17)
at async #loadConfiguration (/node_modules/@commitlint/load/node_modules/cosmiconfig/dist/Explorer.js:116:36)
at async #loadConfigFileWithImports (/node_modules/@commitlint/load/node_modules/cosmiconfig/dist/Explorer.js:87:31)
at async #readConfiguration (/node_modules/@commitlint/load/node_modules/cosmiconfig/dist/Explorer.js:84:51)
at async load (/node_modules/@commitlint/load/node_modules/cosmiconfig/dist/Explorer.js:20:48)
at async Explorer.load (/node_modules/@commitlint/load/node_modules/cosmiconfig/dist/Explorer.js:23:20)
at async loadConfig (file:///node_modules/@commitlint/load/lib/utils/load-config.js:53:19)
at async load (file:///node_modules/@commitlint/load/lib/load.js:24:20)
at async showLintResults (file:///run.mjs:117:43)
|
commitlint-pulling-from-docker-hub
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v3, actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
commitlint
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v3, actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|