2019-03-28 16:09:28 -04:00
|
|
|
jobs:
|
|
|
|
- job: ${{ parameters.name }}
|
|
|
|
pool:
|
|
|
|
vmImage: ${{ parameters.vmImage }}
|
|
|
|
|
|
|
|
strategy:
|
|
|
|
matrix:
|
|
|
|
node_8_x:
|
|
|
|
node_version: 8.x
|
|
|
|
node_10_x:
|
|
|
|
node_version: 10.x
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- task: NodeTool@0
|
|
|
|
inputs:
|
|
|
|
versionSpec: $(node_version)
|
|
|
|
|
|
|
|
- script: |
|
2019-03-28 17:33:24 -04:00
|
|
|
${{ parameters.preScript }}
|
2019-03-28 16:09:28 -04:00
|
|
|
node --version
|
|
|
|
npm --version
|
|
|
|
yarn --version
|
|
|
|
yarn
|
|
|
|
yarn bootstrap
|
|
|
|
${{ parameters.script }}
|
2019-03-28 16:34:31 -04:00
|
|
|
env:
|
|
|
|
CYPRESS_RECORD_KEY: $(CYPRESS_RECORD_KEY)
|