pr-lint-action
pr-lint-action copied to clipboard
Action is failing with node v22 - Cannot find module 'actions-toolkit'
I'm currently seeing the following error when running this action.
Error: Cannot find module 'actions-toolkit'
Require stack:
- /index.js
...
code: 'MODULE_NOT_FOUND',
requireStack: [ '/index.js' ]
It might be related to the fact that the node:slim
Docker image is used, which has recently updated to node version 22.5. If this action is incompatible with the new node version, then perhaps the version of the image could be fixed to v20 until it is sorted.
I'm not 100% sure that this is the case, but it's the main change that I can see, as this package hasn't been updated for a while.