You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello since today any workflow with pull-request-name-linter-action cransh with this error
Error: Error [ERR_REQUIRE_ESM]:
require() of ES Module /home/runner/work/repo/node_modules/@commitlint/config-conventional/lib/index.js from /home/runner/work/_actions/JulienKode/pull-request-name-linter-action/v0.5.0/dist/index.js not supported.
Instead change the require of /home/runner/work/repo/node_modules/@commitlint/config-conventional/lib/index.js in /home/runner/work/_actions/JulienKode/pull-request-name-linter-action/v0.[5](https://github.com/org/repo/actions/runs/8197591753/job/22419784725?pr=21#step:4:6).0/dist/index.js to a dynamic import() which is available in all CommonJS modules.
Error: require() of ES Module /home/runner/work/repo/node_modules/@commitlint/config-conventional/lib/index.js from /home/runner/work/_actions/JulienKode/pull-request-name-linter-action/v0.5.0/dist/index.js not supported.
Instead change the require of /home/runner/work/repo/node_modules/@commitlint/config-conventional/lib/index.js in /home/runner/work/_actions/JulienKode/pull-request-name-linter-action/v0.5.0/dist/index.js to a dynamic import() which is available in all CommonJS modules.
The text was updated successfully, but these errors were encountered:
To fix the require() of ES Module error with @commitlint/config-conventional, specify version 16.0.0 in your workflow. As detailed here, you can resolve the issue by running:
Hello since today any workflow with pull-request-name-linter-action cransh with this error
The text was updated successfully, but these errors were encountered: