forked from Azure/azure-functions-durable-js
-
Notifications
You must be signed in to change notification settings - Fork 0
/
azure-pipelines-release.yml
33 lines (31 loc) · 1.03 KB
/
azure-pipelines-release.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
trigger: none
pr: none
resources:
pipelines:
- pipeline: DurableJSCI
project: "Azure Functions"
source: azure-functions-durable-js
branch: main
jobs:
- job: Release
pool:
name: "1ES-Hosted-AzFunc"
demands:
- ImageOverride -equals MMSUbuntu20.04TLS
steps:
- task: NodeTool@0
displayName: "Install Node.js"
inputs:
versionSpec: 14.x
- download: DurableJSCI
- script: mv *.tgz package.tgz
displayName: "Rename tgz file" # because the publish command below requires an exact path
workingDirectory: "$(Pipeline.Workspace)/DurableJSCI/drop"
- task: Npm@1
displayName: "npm publish"
inputs:
command: custom
workingDir: "$(Pipeline.Workspace)/DurableJSCI/drop"
verbose: true
customCommand: "publish package.tgz"
publishEndpoint: "NPM Durable Functions JS Publish"