Merge branch 'master' of ssh.dev.azure.com:v3/HackKu/HackKu%202020/frontend
This commit is contained in:
commit
58e4c351eb
23
azure-pipelines.yml
Normal file
23
azure-pipelines.yml
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
# 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:
|
||||||
|
- master
|
||||||
|
|
||||||
|
pool:
|
||||||
|
vmImage: 'ubuntu-latest'
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- task: NodeTool@0
|
||||||
|
inputs:
|
||||||
|
versionSpec: '12.x'
|
||||||
|
displayName: 'Install Node.js'
|
||||||
|
|
||||||
|
- script: |
|
||||||
|
# npm install -g @angular/cli
|
||||||
|
npm install -g @ionic/cli
|
||||||
|
npm install
|
||||||
|
ionic build --prod
|
||||||
|
displayName: 'npm install and build'
|
Loading…
Reference in New Issue
Block a user