From ed3dcf811258570bc8e14545edc7c70e67e9f658 Mon Sep 17 00:00:00 2001 From: Eric Nguyen Date: Mon, 8 Aug 2022 14:38:01 +0000 Subject: [PATCH 1/2] 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 From 87369ee90d0bad4dc041789550a6ce3a7ce9c5a7 Mon Sep 17 00:00:00 2001 From: Siklos Date: Mon, 8 Aug 2022 16:45:22 +0200 Subject: [PATCH 2/2] azure-pipeline: Clean node process --- azure-pipelines.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 5419a73..9a751fc 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -20,8 +20,10 @@ steps: - script: | node --version node ./test-server/node-http.js & + jobs npm ci npm run test:nowatch + killall node displayName: 'Test on Node.js 16.x LTS' - task: NodeTool@0 @@ -32,6 +34,8 @@ steps: - 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