Add release pipeline yaml for types package (#492)
This commit is contained in:
Родитель
ed546ff40f
Коммит
af0b08b759
|
@ -0,0 +1,31 @@
|
|||
trigger: none
|
||||
pr: none
|
||||
|
||||
resources:
|
||||
pipelines:
|
||||
- pipeline: nodeWorkerCI
|
||||
project: 'Azure Functions'
|
||||
source: Azure.azure-functions-nodejs-worker
|
||||
branch: v3.x
|
||||
|
||||
jobs:
|
||||
- job: ReleaseTypes
|
||||
pool:
|
||||
vmImage: 'ubuntu-latest'
|
||||
steps:
|
||||
- task: NodeTool@0
|
||||
displayName: 'Install Node.js'
|
||||
inputs:
|
||||
versionSpec: 14.x
|
||||
- download: nodeWorkerCI
|
||||
- script: mv *.tgz package.tgz
|
||||
displayName: 'Rename tgz file' # because the publish command below requires an exact path
|
||||
workingDirectory: '$(Pipeline.Workspace)/nodeWorkerCI/types'
|
||||
- task: Npm@1
|
||||
displayName: 'npm publish'
|
||||
inputs:
|
||||
command: custom
|
||||
workingDir: '$(Pipeline.Workspace)/nodeWorkerCI/types'
|
||||
verbose: true
|
||||
customCommand: 'publish package.tgz'
|
||||
publishEndpoint: 'TypeScript Types Publish'
|
Загрузка…
Ссылка в новой задаче