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"