Skip to content

docs: update lint yaml #5

docs: update lint yaml

docs: update lint yaml #5

Triggered via push August 6, 2024 06:01
Status Failure
Total duration 33s
Artifacts

commit-lint.yml

on: push
commitlint
11s
commitlint
Fit to window
Zoom out
Zoom in

Annotations

1 error and 2 warnings
commitlint
You have commit messages with errors error running commitlint Must use import to load ES Module: /github/workspace/commitlint.config.js require() of ES modules is not supported. require() of /github/workspace/commitlint.config.js from /node_modules/cosmiconfig/dist/loaders.js is an ES module file as it is a .js file whose nearest parent package.json contains "type": "module" which defines all .js files in that package scope as ES modules. Instead rename commitlint.config.js to end in .cjs, change the requiring code to use import(), or remove "type": "module" from /github/workspace/package.json. Error [ERR_REQUIRE_ESM]: Must use import to load ES Module: /github/workspace/commitlint.config.js require() of ES modules is not supported. require() of /github/workspace/commitlint.config.js from /node_modules/cosmiconfig/dist/loaders.js is an ES module file as it is a .js file whose nearest parent package.json contains "type": "module" which defines all .js files in that package scope as ES modules. Instead rename commitlint.config.js to end in .cjs, change the requiring code to use import(), or remove "type": "module" from /github/workspace/package.json. at new NodeError (node:internal/errors:370:5) at Object.Module._extensions..js (node:internal/modules/cjs/loader:1112:13) at Module.load (node:internal/modules/cjs/loader:975:32) at Function.Module._load (node:internal/modules/cjs/loader:816:12) at Module.require (node:internal/modules/cjs/loader:999:19) at module.exports (/node_modules/import-fresh/index.js:32:59) at loadJs (/node_modules/cosmiconfig/dist/loaders.js:16:18) at Explorer.loadFileContent (/node_modules/cosmiconfig/dist/Explorer.js:84:32) at Explorer.createCosmiconfigResult (/node_modules/cosmiconfig/dist/Explorer.js:89:36) at runLoad (/node_modules/cosmiconfig/dist/Explorer.js:103:33)
commitlint
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
commitlint
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/