static-cms/azure-pipelines-template.yml
2019-03-28 16:34:31 -04:00

27 lines
469 B
YAML

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: |
node --version
npm --version
yarn --version
yarn
yarn bootstrap
${{ parameters.script }}
env:
CYPRESS_RECORD_KEY: $(CYPRESS_RECORD_KEY)