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