Skip to content

Commit

Permalink
Update pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
mehmetseckin authored Nov 16, 2018
1 parent e4d6413 commit a120181
Showing 1 changed file with 24 additions and 15 deletions.
39 changes: 24 additions & 15 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
@@ -1,18 +1,27 @@
# Node.js with gulp
# Build a Node.js project using the gulp task runner.
# Add steps that analyze code, save build artifacts, deploy, and more:
# https://docs.microsoft.com/azure/devops/pipelines/languages/javascript
name: '1.1.0.$(rev:r)'

pool:
vmImage: 'Ubuntu 16.04'
trigger:
- master

steps:
- task: NodeTool@0
inputs:
versionSpec: '8.x'
displayName: 'Install Node.js'
jobs:
- job: 'build'
displayName: 'Build and Test'
pool:
vmImage: 'Ubuntu 16.04'

- script: |
npm install
npm run build-all
displayName: 'npm install and run all build scripts'
workspace:
clean: all

steps:
- checkout: self
clean: true

- task: NodeTool@0
inputs:
versionSpec: '8.x'
displayName: 'Install Node.js'

- script: |
npm install
npm run build-all
displayName: 'npm install and run all build scripts'

0 comments on commit a120181

Please sign in to comment.