diff --git a/Makefile b/Makefile index 3f5a40fd..1df4d6fa 100644 --- a/Makefile +++ b/Makefile @@ -82,7 +82,7 @@ test-%: prepare-test IMAGE=$* bats/bin/bats $(bats_flags) | tee target/results-$*.tap # convert TAP to JUNIT docker run --rm -v "$(CURDIR)":/usr/src/app -w /usr/src/app node:21.1.0-alpine3.18 \ - sh -c "npm install -g npm@9.9.0 && npm install tap-xunit -g && cat target/results-$*.tap | tap-xunit --package='jenkinsci.docker.$*' > target/junit-results-$*.xml" + sh -c "npm install -g npm@10.2.1 && npm install tap-xunit -g && cat target/results-$*.tap | tap-xunit --package='jenkinsci.docker.$*' > target/junit-results-$*.xml" test: prepare-test @make --silent list | while read image; do make --silent "test-$${image}"; done