diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 11ceefbb..6101c802 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -68,11 +68,11 @@ jobs: displayName: 'Lint' - job: Release - # dependsOn: - # - Linux - # - macOS - # - Windows - #condition: and(succeeded(), eq(variables['Build.SourceBranch'], 'refs/heads/master')) + dependsOn: + - Linux + - macOS + - Windows + condition: and(succeeded(), eq(variables['Build.SourceBranch'], 'refs/heads/master')) pool: vmImage: 'ubuntu-16.04' steps: @@ -88,6 +88,5 @@ jobs: yarn displayName: 'Install dependencies and build' - script: | - echo $(NPM_AUTH_TOKEN) NPM_AUTH_TOKEN="$(NPM_AUTH_TOKEN)" node ./bin/publish.js displayName: 'Publish to npm'