diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index e2bf27c..b8db9b4 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -24,6 +24,7 @@ build: - if: $CI_COMMIT_BRANCH test: + image: mcr.microsoft.com/dotnet/sdk:5.0 stage: test script: - 'dotnet test --test-adapter-path:. --logger:"junit;LogFilePath=../artifacts/{assembly}-test-result.xml;MethodFormat=Default;FailureBodyFormat=Verbose" --collect:"XPlat Code Coverage"' @@ -45,6 +46,7 @@ test: - ./coverage/Cobertura.xml publish: + image: mcr.microsoft.com/dotnet/sdk:5.0 stage: release script: - npm install --ci