Update azure-pipelines.yml for Azure Pipelines
This commit is contained in:
@@ -7,16 +7,17 @@ trigger:
|
||||
- main
|
||||
|
||||
pool:
|
||||
vmImage: windows-latest
|
||||
vmImage: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- task: NodeTool@0
|
||||
inputs:
|
||||
versionSpec: '10.x'
|
||||
versionSpec: '17.x'
|
||||
displayName: 'Install Node.js'
|
||||
|
||||
- script: |
|
||||
npm install
|
||||
tsc
|
||||
npm install --only=dev
|
||||
npx tsc
|
||||
npm run compile
|
||||
npm run build
|
||||
displayName: 'npm install and build'
|
||||
|
||||
Reference in New Issue
Block a user