Skip to content

Commit

Permalink
feat: add azure pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
oocx committed Dec 21, 2018
1 parent 586ff02 commit dcda63e
Show file tree
Hide file tree
Showing 3 changed files with 6,684 additions and 298 deletions.
25 changes: 25 additions & 0 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# 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

pool:
vmImage: 'Ubuntu 16.04'

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

- script: |
npm ci
displayName: 'npm install'

- script: |
npm test
displayName: 'run unit tests'

- script: |
../../node_modules/.bin/semantic-release
displayName: 'publish package'
Loading

0 comments on commit dcda63e

Please sign in to comment.