fix: github workflow #117
Annotations
1 error and 1 warning
commitlint
You have commit messages with errors
error running commitlint
require() of ES Module /github/workspace/node_modules/.pnpm/@commitlint+config-conventional@19.5.0/node_modules/@commitlint/config-conventional/lib/index.js from /github/workspace/.commitlintrc.cjs not supported.
Instead change the require of index.js in /github/workspace/.commitlintrc.cjs 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+config-conventional@19.5.0/node_modules/@commitlint/config-conventional/lib/index.js from /github/workspace/.commitlintrc.cjs not supported.
Instead change the require of index.js in /github/workspace/.commitlintrc.cjs to a dynamic import() which is available in all CommonJS modules.
at Object.<anonymous> (/github/workspace/.commitlintrc.cjs:1:22)
at module.exports (/node_modules/import-fresh/index.js:32:59)
at loadJsSync (/node_modules/@commitlint/load/node_modules/cosmiconfig/dist/loaders.js:17:12)
at loadJs (/node_modules/@commitlint/load/node_modules/cosmiconfig/dist/loaders.js:26:39)
at async #loadConfiguration (/node_modules/@commitlint/load/node_modules/cosmiconfig/dist/Explorer.js:92:24)
at async #readConfiguration (/node_modules/@commitlint/load/node_modules/cosmiconfig/dist/Explorer.js:77: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 (/node_modules/@commitlint/load/lib/utils/load-config.js:56:19)
at async Object.load [as default] (/node_modules/@commitlint/load/lib/load.js:19:20)
at async showLintResults (/run.js:141:46)
|
commitlint
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, pnpm/action-setup@v2, actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|