-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.yml
52 lines (44 loc) · 1.08 KB
/
build.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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
pool:
name: Azure Pipelines
demands: npm
vmImage: 'ubuntu-latest'
steps:
- powershell: |
gci env:
pwd
gci . -recurse
displayName: 'get env vars'
- task: Npm@1
displayName: 'npm install'
inputs:
command: 'install'
workingDir: ./extension
verbose: false
- task: Bash@3
displayName: Compile Javascript
inputs:
targetType: "inline"
script: |
cd extension
tsc
- powershell: |
& .\node_modules\.bin\tsc.cmd -p .\tsconfig.json
workingDirectory: ./extension
displayName: 'Compile code'
enabled: false
env:
system.debug: true
- task: ms-devlabs.vsts-developer-tools-build-tasks.tfx-installer-build-task.TfxInstaller@3
displayName: 'Use Node CLI for Azure DevOps (tfx-cli): v0.7.x'
enabled: false
- task: PackageAzureDevOpsExtension@3
inputs:
rootFolder: '.'
outputPath: './MachineIdentityExtension.vsix'
updateTasksVersion: false
enabled: false
- task: PublishBuildArtifacts@1
displayName: 'Publish Artifact: MachineIdentityExtension'
inputs:
PathtoPublish: .
ArtifactName: 'MachineIdentityExtension'