Created
November 27, 2020 03:15
-
-
Save karm435/b6518b23b6b196ec6f740ebd88a830e4 to your computer and use it in GitHub Desktop.
Ionic build steps
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
parameters: | |
- name: environment | |
displayName: "Ionic Build environment" | |
steps: | |
- task: NodeTool@0 | |
inputs: | |
versionSpec: '12.x' | |
displayName: 'Install Node.js' | |
- script: npm install -g @ionic/cli | |
displayName: 'install ionic cli' | |
- task: Npm@1 | |
inputs: | |
workingDir: '$(Build.SourcesDirectory)' | |
command: install | |
displayName: 'npm install' | |
- script: ionic build -c=${{ parameters.environment }} | |
displayName: 'build ionic' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment