Merged PR 12: Added Node Latest to tests

This commit is contained in:
Eric Nguyen 2022-08-08 14:38:01 +00:00
parent 60247d6f45
commit ed3dcf8112

View file

@ -15,11 +15,23 @@ steps:
- task: NodeTool@0 - task: NodeTool@0
inputs: inputs:
versionSpec: '16.x' versionSpec: '16.x'
displayName: 'Install Node.js' displayName: 'Install Node.js 16.x LTS'
- script: | - script: |
node --version node --version
node ./test-server/node-http.js & node ./test-server/node-http.js &
npm install npm ci
npm run test:nowatch npm run test:nowatch
displayName: 'npm install and test' 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 &
npm ci
npm run test:nowatch
displayName: 'Test on Node.js 18.x Latest'