Files
actions/.azure/ci.yml
2023-03-11 17:09:46 +01:00

35 lines
649 B
YAML

trigger:
- main
pr:
- main
variables:
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: 'true'
DOTNET_CLI_TELEMETRY_OPTOUT: 'true'
INPUT_VERSIONSPEC: '5.x'
strategy:
matrix:
linux:
imageName: 'ubuntu-latest'
mac:
imageName: 'macos-latest'
windows:
imageName: 'windows-latest'
pool:
vmImage: $(imageName)
steps:
- checkout: self
fetchDepth: '0'
- pwsh: |
npm install
npm run format-check
npm run build:azure
displayName: 'Build code'
- bash: 'INPUT_VERSIONSPEC=$(INPUT_VERSIONSPEC) node ./gitversion/setup/bundle.js'
displayName: gitversion/setup
workingDirectory: dist/azure