rsnext/azure-pipelines.yml
JJ Kasper cc177561e4 Run all Azure tests with node v10 (#8782)
* Run all Azure tests with node v10

* Update job names

* Update CSS test
2019-09-18 11:42:59 -04:00

39 lines
692 B
YAML

pool:
vmImage: 'vs2017-win2016'
variables:
NEXT_TELEMETRY_DISABLED: '1'
strategy:
maxParallel: 10
matrix:
node-10-1:
group: 1/4
node_version: ^10.10.0
node-10-2:
group: 2/4
node_version: ^10.10.0
node-10-3:
group: 3/4
node_version: ^10.10.0
node-10-4:
group: 4/4
node_version: ^10.10.0
steps:
- task: NodeTool@0
inputs:
versionSpec: $(node_version)
displayName: 'Install Node.js'
- script: |
yarn install
displayName: 'Install dependencies'
- script: |
yarn check
displayName: 'Yarn check'
- script: |
node run-tests.js -c 2 -g $(group)
displayName: 'Run tests'