-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore: pin Node.JS pre-commit hooks to use LTS #13785
chore: pin Node.JS pre-commit hooks to use LTS #13785
Conversation
LGTM! Thank you for fixing this! |
This breaks pre-commit on main for me:
|
oh, I'm also using python 3.8, so this change may be the reason for https://mixxx.zulipchat.com/#narrow/channel/247620-development-help/topic/pre-commit.20404.20for.20markdownlint-cli2 |
@acolombier What would be the downside to revert this PR? Is there a workaround? |
If Node.JS has fixed the bug, it should be fine to revert. To test, delete pre-commit hooks and cache. Note that the CI should already do so. |
Looks like this has been fixed in Node.js 23.1.0 edit |
No issues with 23.1.0 here (using python 3.8). |
nodeenv
(used bypre-commit
to install Node env for pre-commit hooks using JavaScript) default to install the latest Node.JS runtime.v23.0.0 was just released and it contains a bug preventing
npm pack
. This works around the issue by pinning the LTS version instead.