From 31b6eff6cc70b84494b4b5dccd3b0d0cf29e7257 Mon Sep 17 00:00:00 2001 From: Shihab Mridha <3264156+shihabmridha@users.noreply.github.com> Date: Mon, 26 Jun 2023 22:31:34 +0600 Subject: [PATCH] Update azure-pipelines.yml for Azure Pipelines --- azure-pipelines.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 4ab11e5..ccc3350 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -4,14 +4,14 @@ pool: steps: - task: NodeTool@0 inputs: - versionSpec: "12.x" + versionSpec: "18.x" displayName: "Install Node.js" - script: | npm install displayName: "Installing dependencies" - - script: tsc -p . + - script: npm run compile displayName: "Compiling typescript" - script: NODE_ENV=$(NODE_ENV) LOG_LEVEL=debug DB_PWD=$(DB_PASSWORD) DB_USER=$(DB_USERNAME) DB_HOST=$(DB_HOST) DB_NAME=$(DB_NAME) ./node_modules/.bin/jest --forceExit ./build/test/