diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index ebb2dba..dbd6421 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -13,16 +13,20 @@ test: stage: test script: - npm install - - npm run test + - CI=true npm run test + artifacts: + reports: + junit: + - ./junit.xml coverage: stage: coverage script: - - npm run coverage + - CI=true npm run coverage artifacts: reports: - cobertura: coverage/cobertura-coverage.xml - junit: junit.xml + cobertura: + - ./coverage/cobertura-coverage.xml build: stage: build