chore: use Node 18 and Python 3.11 (#30)

This commit is contained in:
Raymond Zhao 2023-11-09 11:28:20 -08:00 committed by GitHub
parent ae68e2d235
commit f4100fb1ac
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -25,6 +25,9 @@ extends:
npmPackages:
- name: vscode-policy-watcher
buildSteps:
- task: UsePythonVersion@0
inputs:
versionSpec: '3.11'
- script: npm ci
testPlatforms:
- name: Linux
@ -34,6 +37,9 @@ extends:
- name: Windows
nodeVersions: [18.17.x]
testSteps:
- task: UsePythonVersion@0
inputs:
versionSpec: '3.11'
- script: npm ci
env:
npm_config_disturl: https://electronjs.org/headers