From ed3dcf811258570bc8e14545edc7c70e67e9f658 Mon Sep 17 00:00:00 2001 From: Eric Nguyen Date: Mon, 8 Aug 2022 14:38:01 +0000 Subject: [PATCH] Merged PR 12: Added Node Latest to tests --- azure-pipelines.yml | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 40364ea..5419a73 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -15,11 +15,23 @@ 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 + npm ci 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' \ No newline at end of file