mirror of
				https://github.com/actions/setup-node.git
				synced 2025-11-04 12:13:35 +00:00 
			
		
		
		
	Set up CI with Azure Pipelines1.2
[skip ci]
This commit is contained in:
		
							parent
							
								
									b1a600ab68
								
							
						
					
					
						commit
						e44916ab43
					
				
							
								
								
									
										22
									
								
								azure-pipelines.yml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										22
									
								
								azure-pipelines.yml
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,22 @@
 | 
				
			|||||||
 | 
					# Node.js with Angular
 | 
				
			||||||
 | 
					# Build a Node.js project that uses Angular.
 | 
				
			||||||
 | 
					# Add steps that analyze code, save build artifacts, deploy, and more:
 | 
				
			||||||
 | 
					# https://docs.microsoft.com/azure/devops/pipelines/languages/javascript
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					trigger:
 | 
				
			||||||
 | 
					- main
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					pool:
 | 
				
			||||||
 | 
					  vmImage: 'ubuntu-latest'
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					steps:
 | 
				
			||||||
 | 
					- task: NodeTool@0
 | 
				
			||||||
 | 
					  inputs:
 | 
				
			||||||
 | 
					    versionSpec: '10.x'
 | 
				
			||||||
 | 
					  displayName: 'Install Node.js'
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					- script: |
 | 
				
			||||||
 | 
					    npm install -g @angular/cli
 | 
				
			||||||
 | 
					    npm install
 | 
				
			||||||
 | 
					    ng build --prod
 | 
				
			||||||
 | 
					  displayName: 'npm install and build'
 | 
				
			||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user