Set up CI with Azure Pipelines
[skip ci]
This commit is contained in:
		
							parent
							
								
									919650ed9c
								
							
						
					
					
						commit
						110268e1ce
					
				
					 1 changed files with 28 additions and 0 deletions
				
			
		
							
								
								
									
										28
									
								
								azure-pipelines.yml
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										28
									
								
								azure-pipelines.yml
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
					@ -0,0 +1,28 @@
 | 
				
			||||||
 | 
					pr:
 | 
				
			||||||
 | 
					  - master
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					pool:
 | 
				
			||||||
 | 
					  vmImage: "ubuntu-latest"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					steps:
 | 
				
			||||||
 | 
					- task: NodeTool@0
 | 
				
			||||||
 | 
					  inputs:
 | 
				
			||||||
 | 
					    versionSpec: "10.x"
 | 
				
			||||||
 | 
					  displayName: "Install NodeJS"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					- script: |
 | 
				
			||||||
 | 
					    npm install -g vsce
 | 
				
			||||||
 | 
					  displayName: "Install VSCE"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					- script: |
 | 
				
			||||||
 | 
					    npm install
 | 
				
			||||||
 | 
					  displayName: "NPM Install"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					- script: |
 | 
				
			||||||
 | 
					    vsce package --out $(Build.ArtifactStagingDirectory)
 | 
				
			||||||
 | 
					  displayName: "VSCE Package"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					- task: PublishBuildArtifacts@1
 | 
				
			||||||
 | 
					  inputs:
 | 
				
			||||||
 | 
					    pathtoPublish: $(Build.ArtifactStagingDirectory)
 | 
				
			||||||
 | 
					    artifactName: drop
 | 
				
			||||||
		Loading…
	
	Add table
		
		Reference in a new issue