chore: pin Node.JS pre-commit hooks to use LTS#13785
Merged
JoergAtGithub merged 1 commit intomixxxdj:mainfrom Oct 20, 2024
Merged
chore: pin Node.JS pre-commit hooks to use LTS#13785JoergAtGithub merged 1 commit intomixxxdj:mainfrom
JoergAtGithub merged 1 commit intomixxxdj:mainfrom
Conversation
Member
|
LGTM! Thank you for fixing this! |
Member
|
This breaks pre-commit on main for me: |
Member
|
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 |
Member
|
@acolombier What would be the downside to revert this PR? Is there a workaround? |
Member
Author
|
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. |
Member
|
Looks like this has been fixed in Node.js 23.1.0 edit |
Member
|
No issues with 23.1.0 here (using python 3.8). |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
nodeenv(used bypre-committo 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.