mirror of
https://github.com/terribleplan/next.js.git
synced 2024-01-19 02:48:18 +00:00
Set up CI with Azure Pipelines
This commit is contained in:
parent
b9461824ec
commit
0b6ecf1fe4
28
azure-pipelines.yml
Normal file
28
azure-pipelines.yml
Normal file
|
@ -0,0 +1,28 @@
|
|||
pool:
|
||||
vmImage: 'vs2017-win2016'
|
||||
|
||||
strategy:
|
||||
maxParallel: 10
|
||||
matrix:
|
||||
node-10:
|
||||
node_version: ^10.10.0
|
||||
node-8:
|
||||
node_version: ^8.12.0
|
||||
|
||||
steps:
|
||||
- task: NodeTool@0
|
||||
inputs:
|
||||
versionSpec: $(node_version)
|
||||
displayName: 'Install Node.js'
|
||||
|
||||
- script: |
|
||||
npm install
|
||||
displayName: 'Install dependencies'
|
||||
|
||||
- script: |
|
||||
npm run bootstrap
|
||||
displayName: 'Lerna bootstrap'
|
||||
|
||||
- script: |
|
||||
npm test
|
||||
displayName: 'Run tests'
|
Loading…
Reference in a new issue