Skip to content

Instantly share code, notes, and snippets.

@corradin
Last active August 23, 2019 13:37
Show Gist options
  • Save corradin/52841f62809cf7ffcca3d5ff319393d5 to your computer and use it in GitHub Desktop.
Save corradin/52841f62809cf7ffcca3d5ff319393d5 to your computer and use it in GitHub Desktop.
trigger:
- master
pool:
name: Hosted Ubuntu 1604
steps:
- task: RestoreAndSaveCache@1
inputs:
keyfile: '**/package-lock.json, !**/node_modules/**/package-lock.json, !**/.*/**/package-lock.json'
targetfolder: '**/node_modules, !**/node_modules/**/node_modules'
vstsFeed: '106881c5-1e85-4e16-a467-be2702084631'
platformIndependent: true
- bash: npm install
displayName: NPM Install Dependencies
- bash: npm run build
displayName: Build Angular application
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment