Skip to content

Commit

Permalink
feat: 支持azure-pipelines
Browse files Browse the repository at this point in the history
  • Loading branch information
wubaiqing committed Aug 21, 2019
1 parent ea368e5 commit e02037c
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,22 @@ trigger:
pool:
vmImage: 'ubuntu-latest'

strategy:
matrix:
node_8_x:
node_version: 8.x
node_10_x:
node_version: 10.x

steps:
- task: NodeTool@0
- task: PublishTestResults
inputs:
versionSpec: '8.x'
displayName: 'Install Node.js'
versionSpec: $(node_version)

- script: |
npm install -g yarn
yarn install
yarn lint:md
yarn lint:js
yarn test
displayName: 'yarn install, lint, and test'
displayName: 'yarn lint, and yarn test'

0 comments on commit e02037c

Please sign in to comment.