Skip to content

WIP: Use reusable workflow with pre-commit #8

WIP: Use reusable workflow with pre-commit

WIP: Use reusable workflow with pre-commit #8

Triggered via pull request October 28, 2024 11:33
Status Failure
Total duration 2m 6s
Artifacts

ci.yml

on: pull_request
Common CI  /  Check commit messages
11s
Common CI / Check commit messages
Common CI  /  Run pre-commit hooks
9s
Common CI / Run pre-commit hooks
Common CI  /  Run tests
1m 55s
Common CI / Run tests
Fit to window
Zoom out
Zoom in

Annotations

3 errors and 1 warning
Common CI / Check commit messages
You have commit messages with errors error running commitlint module is not defined in ES module scope This file is being treated as an ES module because it has a '.js' file extension and '/package.json' contains "type": "module". To treat it as a CommonJS script, rename it to use the '.cjs' file extension. ReferenceError: module is not defined in ES module scope This file is being treated as an ES module because it has a '.js' file extension and '/package.json' contains "type": "module". To treat it as a CommonJS script, rename it to use the '.cjs' file extension. at file:///github/workspace/.commitlintrc.js:1:1 at ModuleJob.run (node:internal/modules/esm/module_job:222:25) at async ModuleLoader.import (node:internal/modules/esm/loader:316:24) 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 search (/node_modules/@commitlint/load/node_modules/cosmiconfig/dist/Explorer.js:50:40) at async Explorer.search (/node_modules/@commitlint/load/node_modules/cosmiconfig/dist/Explorer.js:78:20) at async loadConfig (file:///node_modules/@commitlint/load/lib/utils/load-config.js:53:19)
Common CI / Run tests
Process completed with exit code 1.
Common CI / Run tests
Process completed with exit code 1.
Common CI / Run pre-commit hooks
The `python-version` input is not set. The version of Python currently in `PATH` will be used.