ci: fix commitlint action #581
Annotations
1 error
commitlint
You have commit messages with errors
error running commitlint
Unexpected token 'export'
/github/workspace/commitlint.config.js:11
export default Configuration;
^^^^^^
SyntaxError: Unexpected token 'export'
at wrapSafe (node:internal/modules/cjs/loader:1281:20)
at Module._compile (node:internal/modules/cjs/loader:1321:27)
at Module._extensions..js (node:internal/modules/cjs/loader:1416:10)
at Module.load (node:internal/modules/cjs/loader:1208:32)
at Module._load (node:internal/modules/cjs/loader:1024:12)
at Module.require (node:internal/modules/cjs/loader:1233:19)
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:27:43)
at async #loadConfiguration (/node_modules/@commitlint/load/node_modules/cosmiconfig/dist/Explorer.js:116:36)
|