diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 40364ea..9a751fc 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -15,11 +15,27 @@ steps: - task: NodeTool@0 inputs: versionSpec: '16.x' - displayName: 'Install Node.js' + displayName: 'Install Node.js 16.x LTS' - script: | node --version node ./test-server/node-http.js & - npm install + jobs + npm ci npm run test:nowatch - displayName: 'npm install and test' + killall node + displayName: 'Test on Node.js 16.x LTS' + +- task: NodeTool@0 + inputs: + versionSpec: '>=18.7.0' + displayName: 'Install Node.js Latest' + +- script: | + node --version + node ./test-server/node-http.js & + jobs + npm ci + npm run test:nowatch + killall node + displayName: 'Test on Node.js 18.x Latest' \ No newline at end of file