Skip to content

Commit

Permalink
Merge pull request #194 from destinationstransfers/renovate/major-jes…
Browse files Browse the repository at this point in the history
…t-monorepo

Update dependency jest to v25
  • Loading branch information
tinovyatkin authored Aug 22, 2019
2 parents 72604ef + 955b95e commit e03d4ad
Show file tree
Hide file tree
Showing 3 changed files with 1,771 additions and 928 deletions.
40 changes: 20 additions & 20 deletions azure-pipelines-steps.yml
Original file line number Diff line number Diff line change
@@ -1,26 +1,26 @@
steps:
- task: NodeTool@0
inputs:
versionSpec: '12.x'
displayName: 'Install Node.js'
- task: NodeTool@0
inputs:
versionSpec: "12.x"
displayName: "Install Node.js"

- script: npm ci
displayName: 'npm install'
- script: npm ci
displayName: "npm install"

- script: npm test -- --ci --reporters=default --reporters=jest-junit
displayName: 'Run Jest'
- script: node --expose-gc node_modules/jest/bin/jest --forceExit --logHeapUsage --runInBand --ci --reporters=default --reporters=jest-junit
displayName: "Run Jest"

- script: npx codecov -f "./coverage/coverage-final.json" -y "./.codecov.yml" -t $(CODECOV_TOKEN)
displayName: 'Upload to Codecov'
- script: npx codecov -f "./coverage/coverage-final.json" -y "./.codecov.yml" -t $(CODECOV_TOKEN)
displayName: "Upload to Codecov"

- task: PublishTestResults@2
condition: succeededOrFailed()
inputs:
testRunner: JUnit
testResultsFiles: '**/junit.xml'
- task: PublishTestResults@2
condition: succeededOrFailed()
inputs:
testRunner: JUnit
testResultsFiles: "**/junit.xml"

- task: PublishCodeCoverageResults@1
inputs:
codeCoverageTool: Cobertura
summaryFileLocation: '$(System.DefaultWorkingDirectory)/**/cobertura-coverage.xml'
reportDirectory: '$(System.DefaultWorkingDirectory)/**/coverage'
- task: PublishCodeCoverageResults@1
inputs:
codeCoverageTool: Cobertura
summaryFileLocation: "$(System.DefaultWorkingDirectory)/**/cobertura-coverage.xml"
reportDirectory: "$(System.DefaultWorkingDirectory)/**/coverage"
Loading

0 comments on commit e03d4ad

Please sign in to comment.