[v12.x backport] Windows CI job update changes
This is a backport of https://github.com/nodejs/node/pull/30724 to v12. This is a cherry-pick without conflicts (but the same is not true for v10 and v8).
@nodejs/backporters I will update this with any feedback from the original PR. This needs to land soon after to avoid issues running CI.
Checklist
-
make -j4 test
(UNIX), orvcbuild test
(Windows) passes -
commit message follows commit guidelines