Merged PR 12: Added Node Latest to tests
This commit is contained in:
parent
60247d6f45
commit
ed3dcf8112
1 changed files with 15 additions and 3 deletions
|
@ -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'
|
Loading…
Add table
Add a link
Reference in a new issue