From 31464c1ba8508ab9c603643029dfb5101c89f9f7 Mon Sep 17 00:00:00 2001 From: "Chris. Webster" Date: Mon, 5 Aug 2024 16:08:40 -0700 Subject: [PATCH] es modules: updates for azure pipeline Update pipeline node version. Update `ci` script to run jest with needed options. Signed-off-by: Chris. Webster --- azure-pipelines.yml | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 823ecc402b..6301ae731b 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -13,7 +13,7 @@ pool: steps: - task: NodeTool@0 inputs: - versionSpec: '16.x' + versionSpec: '20.x' displayName: 'Install Node.js' - script: | diff --git a/package.json b/package.json index 3b89f653a4..088cd9c5ba 100644 --- a/package.json +++ b/package.json @@ -19,7 +19,7 @@ "test:clean": "jest --clearCache && npm test", "test:config": "npm run test -- --testRegex=/tests-config/.*\\.test\\.ts", "test:watch": "jest --watch --notify --notifyMode=change --coverage", - "ci": "npm run lint && jest --env=node --ci --reporters=default --reporters=jest-junit" + "ci": "npm run lint && npm run test -- --ci --reporters=default --reporters=jest-junit" }, "bugs": { "url": "https://github.com/gitgitgadget/gitgitgadget/issues"