diff --git a/azure-pipelines.yml b/azure-pipelines.yml index ecd56b7e2e..7d1b5267c0 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -1,7 +1,4 @@ -# Starter pipeline -# Start with a minimal pipeline that you can customize to build and deploy your code. -# Add steps that build, run tests, deploy, and more: -# https://aka.ms/yaml +# Learn more at: https://aka.ms/yaml jobs: - job: npmRunTest pool: @@ -16,7 +13,10 @@ jobs: inputs: verbose: false - - script: 'git checkout -- . && npm run test' + - script: | + git checkout -- . && npm run test + if [[ $BUILD_REASON == "Schedule" ]]; then npm run update-codeowners; fi + displayName: 'npm run test' trigger: