expressjs / serve-static

Serve static files
MIT License
1.38k stars 227 forks source link

ci: fix errors in ci github action for node 8 and 9 #164

Closed inigomarquinez closed 3 months ago

inigomarquinez commented 3 months ago

This PR fixes nyc version to 14.1.1 when running tests in node 8 or node 9. nyc 15.x requires a yargs package version that requires node >=10.

I've also added the latest versions of node (18, 19, 20, 21 and 22) to the matrix.

Related to https://github.com/jshttp/http-errors/issues/108

UlisesGascon commented 3 months ago

The CI worked as expected, see for more details.