Skip to content

Commit 1bee184

Browse files
Add the building task to the stage Relase latest (#636)
1 parent a8a7c5a commit 1bee184

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

azure-pipelines.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,13 @@ extends:
8080
inputs:
8181
versionSpec: 16.x
8282
displayName: Install node
83+
- task: NpmAuthenticate@0
84+
inputs:
85+
workingFile: .npmrc
86+
- script: npm install
87+
displayName: npm install
88+
- script: npm run build
89+
displayName: npm run build
8390
- bash: |
8491
package_name=$(npm pkg get name version | jq -r '"\(.name)@\(.version)"')
8592
echo "##vso[task.setvariable variable=npm_package]$package_name"

0 commit comments

Comments
 (0)