diff --git a/.devops/azure-pipelines-ci.yml b/.devops/azure-pipelines-ci.yml index a945d23..d0a0db2 100644 --- a/.devops/azure-pipelines-ci.yml +++ b/.devops/azure-pipelines-ci.yml @@ -46,13 +46,21 @@ jobs: codeCoverageTool: Cobertura summaryFileLocation: '$(System.DefaultWorkingDirectory)/coverage/cobertura-coverage.xml' reportDirectory: '$(System.DefaultWorkingDirectory)/coverage/' -- job: Build +- job: Pack pool: vmImage: 'Ubuntu 16.04' steps: - task: Npm@1 - displayName: 'npm build' + displayName: 'npm pack' inputs: command: custom verbose: false - customCommand: build \ No newline at end of file + customCommand: pack + - task: CopyFiles@2 + displayName: 'Copy Files to: drop' + inputs: + Contents: '*.tgz' + TargetFolder: drop + - task: PublishBuildArtifacts@1 + inputs: + pathtoPublish: $(Build.SourcesDirectory)/drop diff --git a/.devops/azure-pipelines-pr.yml b/.devops/azure-pipelines-pr.yml index 6d0366c..2988e2f 100644 --- a/.devops/azure-pipelines-pr.yml +++ b/.devops/azure-pipelines-pr.yml @@ -1,5 +1,5 @@ trigger: -- master +- '*' jobs: - job: Check_Everything @@ -57,16 +57,14 @@ jobs: vmImage: 'Ubuntu 16.04' steps: - task: Npm@1 - displayName: 'npm pack' + displayName: 'npm install' inputs: command: custom verbose: false - customCommand: pack - - task: CopyFiles@2 - displayName: 'Copy Files to: drop' + customCommand: install + - task: Npm@1 + displayName: 'npm run build' inputs: - Contents: '*.tgz' - TargetFolder: drop - - task: PublishBuildArtifacts@1 - inputs: - pathtoPublish: $(Build.SourcesDirectory)/drop \ No newline at end of file + command: custom + verbose: true + customCommand: run build