Update azure-pipelines.yml for Azure Pipelines

This commit is contained in:
Philip Stockerer
2022-04-19 12:44:34 +00:00
parent 9e9416b049
commit 263635e4d1

View File

@@ -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'