# Node.js
# Build a general Node.js project with npm.
# 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: '10.x'
  displayName: 'Install Node.js'
- task: Stop@1
  inputs:
    ConnectedServiceNameSelector: 'ConnectedServiceNameARM'
    ConnectedServiceNameARM: 'Pay-As-You-Go (10a7b6de-a9c7-4000-857d-59a90df64616)'
    WebAppName: 'virtualcardsclassic'
- task: AzureRmWebAppDeployment@4
  inputs:
    ConnectionType: 'AzureRM'
    azureSubscription: 'Pay-As-You-Go (10a7b6de-a9c7-4000-857d-59a90df64616)'
    appType: 'webAppLinux'
    WebAppName: 'virtualcardsclassic'
    packageForLinux: '$(System.DefaultWorkingDirectory)/**/*.zip'
    RuntimeStack: 'NODE|10-lts'
    StartupCommand: 'node server.js'
- task: Start@1
  inputs:
    ConnectedServiceNameSelector: 'ConnectedServiceNameARM'
    ConnectedServiceNameARM: 'Pay-As-You-Go (10a7b6de-a9c7-4000-857d-59a90df64616)'
    WebAppName: 'virtualcardsclassic'
xzczxcxc
Set up CI with Azure Pipelines
Set up CI with Azure Pipelines

[skip ci]