Update ci.yml for Azure Pipelines

Switch to secure agent pool
This commit is contained in:
Ray Chen 2022-03-04 10:27:04 +08:00
Родитель 9810ed1ecc
Коммит 5b0da58378
1 изменённых файлов: 5 добавлений и 3 удалений

Просмотреть файл

@ -5,7 +5,8 @@ jobs:
- job: test
displayName: Tests
pool:
vmImage: "ubuntu-latest"
name: AzurePipelines-EO
vmImage: "AzurePipelinesUbuntu20.04compliant"
steps:
- task: NodeTool@0
inputs:
@ -37,11 +38,12 @@ jobs:
- job: build
displayName: Build and integration tests
pool:
vmImage: "ubuntu-latest"
name: AzurePipelines-EO
vmImage: "AzurePipelinesUbuntu20.04compliant"
steps:
- task: NodeTool@0
inputs:
versionSpec: "10.x"
versionSpec: "12.x"
- script: npm ci
displayName: "Install dependencies"