From 10441dcd8ef64eb4cf2f75f68068513866be2df0 Mon Sep 17 00:00:00 2001 From: xialei_li Date: Wed, 22 Sep 2021 18:03:33 +0800 Subject: [PATCH] ci test 3rd --- Jenkinsfile | 1 + src/connector/node-rest/package.json | 8 ++++---- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 642b478cb6..ec995cd572 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -243,6 +243,7 @@ pipeline { sh ''' cd ${WKC}/src/connector/node-rest/ + npm install npm run build npm run build:test npm run test diff --git a/src/connector/node-rest/package.json b/src/connector/node-rest/package.json index e572649a59..3eab6fc289 100644 --- a/src/connector/node-rest/package.json +++ b/src/connector/node-rest/package.json @@ -7,17 +7,17 @@ "license": "MIT", "scripts": { "prepare": "npm run build", - "build": "esbuild --bundle --platform=node --outfile=lib/TDengineRest.js ./TDengineRest.js" , + "build": "esbuild --bundle --platform=node --outfile=lib/TDengineRest.js ./TDengineRest.js", "build:dev": "esbuild --bundle --platform=node --outfile=dist/examples/show-database.js examples/show-database.js ", "build:test": "esbuild test/testRestConn.js --bundle --platform=node --outfile=dist/tests/testRestConn.js ", "test": "node dist/tests/testRestConn.js" }, "devDependencies": { "esbuild": "^0.12.25", - "eslint": "^7.32.0" + "eslint": "^7.32.0", + "assert": "^2.0.0" }, "dependencies": { - "assert": "^2.0.0", "node-fetch": "^2.x" } -} \ No newline at end of file +} -- GitLab