chore: update GitHub Actions and dependencies #39
Annotations
1 error and 1 warning
check-pr
You have commit messages with errors
error running commitlint
Must use import to load ES Module: /github/workspace/node_modules/@commitlint/config-conventional/lib/index.js
require() of ES modules is not supported.
require() of /github/workspace/node_modules/@commitlint/config-conventional/lib/index.js from /node_modules/@commitlint/resolve-extends/lib/index.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 /github/workspace/node_modules/@commitlint/config-conventional/lib/index.js to end in .cjs, change the requiring code to use import(), or remove "type": "module" from /github/workspace/node_modules/@commitlint/config-conventional/package.json.
Error [ERR_REQUIRE_ESM]: Must use import to load ES Module: /github/workspace/node_modules/@commitlint/config-conventional/lib/index.js
require() of ES modules is not supported.
require() of /github/workspace/node_modules/@commitlint/config-conventional/lib/index.js from /node_modules/@commitlint/resolve-extends/lib/index.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 /github/workspace/node_modules/@commitlint/config-conventional/lib/index.js to end in .cjs, change the requiring code to use import(), or remove "type": "module" from /github/workspace/node_modules/@commitlint/config-conventional/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 require (node:internal/modules/cjs/helpers:93:18)
at /node_modules/@commitlint/resolve-extends/lib/index.js:42:19
at Array.reduce (<anonymous>)
at loadExtends (/node_modules/@commitlint/resolve-extends/lib/index.js:39:16)
at resolveExtends (/node_modules/@commitlint/resolve-extends/lib/index.js:25:22)
|
check-pr
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|