Skip to content
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: update nyc to v15 #1139

Merged
merged 1 commit into from
Nov 12, 2023
Merged

chore: update nyc to v15 #1139

merged 1 commit into from
Nov 12, 2023

Conversation

nfischer
Copy link
Member

No change to logic. This updates nyc (code coverage tool) to version 15. The main goal is to work around a bug on the latest nodejs LTS versions.

This change indicates it only supports nodejs >= 8.9. Hopefully this is good enough for our purposes since ShellJS currently supports nodejs >= 8.

Fixes #1130

@nfischer
Copy link
Member Author

Previously attempted a fix on #1131, but I think I will close that and just iterate on this branch instead.

No change to logic. This updates nyc (code coverage tool) to version 15,
which works around a breaking change that snuck into the latest Node LTS
versions.

Unfortunately, this version of nyc appears to break Node 8 and 9. We
need to work around this problem by skipping test coverage on those
versions.

Fixes #1130
@nfischer nfischer merged commit a987ecf into master Nov 12, 2023
78 checks passed
@nfischer nfischer deleted the chore-upgrade-nyc branch November 12, 2023 00:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

test-with-coverage is broken on node v16
1 participant