Skip to content

Change runtime to bun #155

Change runtime to bun

Change runtime to bun #155

Triggered via pull request September 12, 2024 14:28
Status Failure
Total duration 22s
Artifacts

commitlint.yml

on: pull_request
commitlint
12s
commitlint
Fit to window
Zoom out
Zoom in

Annotations

1 error
commitlint
You have commit messages with errors error running commitlint Must use import to load ES Module: /github/workspace/.commitlintrc.js require() of ES modules is not supported. require() of /github/workspace/.commitlintrc.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 .commitlintrc.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/.commitlintrc.js require() of ES modules is not supported. require() of /github/workspace/.commitlintrc.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 .commitlintrc.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)