Skip to content

Commit

Permalink
Display names in ci (#351)
Browse files Browse the repository at this point in the history
* display names in azure-pipelines.yml

* fix documentation in azure-pipelines.yml
  • Loading branch information
jooohhn committed Jun 17, 2020
1 parent 445938f commit ae5e587
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions azure-pipelines.yml
Expand Up @@ -85,15 +85,15 @@ steps:
- task: NodeTool@0
inputs:
versionSpec: $(nodeVersion)
displayName: Install node@$(nodeVersion)
# nodegit for node>=13.x doesn't come with pre-built binaries, need krb5 to build it during CI
# https://github.com/nodegit/nodegit/issues/1753 https://github.com/nodegit/nodegit/issues/1134
- task: Bash@3
condition: and(eq(variables['Agent.OS'],'Linux'), ge(variables['nodeVersion'], variables['currentNodeVersion']))
inputs:
targetType: inline
script: sudo apt-get install -y libkrb5-dev
# nodegit for node>=13.x doesn't come with pre-built binaries, need krb5 to build it during CI
# https://github.com/nodegit/nodegit/issues/1753 https://github.com/nodegit/nodegit/issues/1134
displayName: Install krb5 if >=node@13.x
- task: Cache@2
inputs:
key: 'yarn | "$(Agent.OS)" | yarn.lock'
Expand All @@ -103,10 +103,14 @@ steps:
path: $(YARN_CACHE_FOLDER)
displayName: Cache Yarn packages
- script: yarn --frozen-lockfile && yarn add --dev $(eslintVersion) && yarn test
displayName: Install dependencies and run yarn test
# Benchmarks uses eslint@7 only feature (the Node.js API class ESLint)
- script: yarn benchmarks
condition: ge(variables['eslintVersion'], 'eslint@^7')
displayName: Run benchmarks if >=eslint@7
# Upload Jest code coverage
- script: yarn spec --coverage --coverageReporters=cobertura
displayName: Generate Jest coverage report
- task: PublishCodeCoverageResults@1
inputs:
codeCoverageTool: Cobertura
Expand Down

0 comments on commit ae5e587

Please sign in to comment.