Closed midgleyc closed 3 years ago
Yeah, it's https://github.com/xojs/xo/issues/555.
CI seems to still be failing.
Yes, now it's the code coverage, which only runs on 14. nyc ava
is returning 0 for everything. Not sure whether nyc
supports ESM. Could try c8
instead?
Running c8 locally, it generates the lcov.info
file, so I think that should work.
Thanks :)
Fix the failing CI tests on Node 12 and 14.
It looks like the error message for some invalid URLs has changed in 16. I've changed it to a regex that matches both.
xo
has a (few levels deep) peer dependency on typescript. On npm < 7, this isn't installed automatically onnpm install
, and you get the error message seen in the CI: