Skip to content

Conversation

@nfischer
Copy link
Member

For some reason it seems like nyc v14 is incompatible with node v16/v18/v20. See this CI run as an example:
https://github.com/shelljs/shelljs/actions/runs/5956710281/job/16287478757?pr=1129

This updates nyc to v15 which should fix the issue.

Fixes #1130
Test: nvm use v16.20.2
Test: npm run test-with-coverage

For some reason it seems like `nyc` v14 is incompatible with node
v16/v18/v20. See this CI run as an example:
https://github.com/shelljs/shelljs/actions/runs/5956710281/job/16287478757?pr=1129

This updates `nyc` to v15 which should fix the issue.

Fixes #1130
Test: nvm use v16.20.2
Test: npm run test-with-coverage
@nfischer nfischer added chore fix Bug/defect, or a fix for such a problem labels Aug 28, 2023
@nfischer
Copy link
Member Author

I fixed this in #1139 instead. It's safe to close this.

@nfischer nfischer closed this Nov 12, 2023
@nfischer nfischer deleted the chore-fix-nyc-coverage branch November 12, 2023 01:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

chore fix Bug/defect, or a fix for such a problem

Projects

None yet

Development

Successfully merging this pull request may close these issues.

test-with-coverage is broken on node v16

2 participants