ci: make sure npm is installed in tests

Also bump node version to 10.
parent fca4d61e
Pipeline #25532 failed with stages
in 5 minutes and 37 seconds