Skip to content

Commit

Permalink
chore(ci): Set up CI with Azure Pipelines
Browse files Browse the repository at this point in the history
  • Loading branch information
azure-pipelines[bot] authored and ematipico committed Sep 14, 2018
1 parent 876b8cc commit 89d3a19
Show file tree
Hide file tree
Showing 2 changed files with 86 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
*.js text eol=lf
*.ts text eol=lf
84 changes: 84 additions & 0 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,84 @@
jobs:
- job: linux
pool:
vmImage: ubuntu-16.04
strategy:
maxParallel: 3
matrix:
node-10:
node_version: ^10.10.0
node-8:
node_version: ^8.12.0
node-6:
node_version: ^6.14.4
steps:
- task: NodeTool@0
displayName: "Install Node.js"
inputs:
versionSpec: $(node_version)
- script: |
npm install -g npm@latest
displayName: "Install npm"
- script: |
npm ci
displayName: "Install dependencies"
- script: |
./node_modules/.bin/lerna bootstrap
displayName: "Lerna bootstrap"
- script: |
npm test
displayName: "Run tests"
- job: macos
pool:
vmImage: "macOS 10.13"
strategy:
maxParallel: 3
matrix:
node-10:
node_version: ^10.10.0
node-8:
node_version: ^8.12.0
steps:
- task: NodeTool@0
displayName: "Install Node.js"
inputs:
versionSpec: $(node_version)
- script: |
npm install -g npm@latest
displayName: "Install npm"
- script: |
npm ci
displayName: "Install dependencies"
- script: |
./node_modules/.bin/lerna bootstrap
displayName: "Lerna bootstrap"
- script: |
npm test
displayName: "Run tests"
- job: windows
pool:
vmImage: vs2017-win2016
strategy:
maxParallel: 3
matrix:
node-8:
node_version: ^8.12.0
node-6:
node_version: ^6.14.4
steps:
- task: NodeTool@0
displayName: "Install Node.js"
inputs:
versionSpec: $(node_version)
- script: |
npm install -g npm@latest
displayName: "Install npm"
- script: |
npm ci
displayName: "Install dependencies"
- script: |
./node_modules/.bin/lerna.cmd bootstrap
displayName: "Lerna bootstrap"
- script: |
npm test
displayName: "Run tests"

0 comments on commit 89d3a19

Please sign in to comment.