From 86831caa1740f05cac2212955d4871faf91cfd00 Mon Sep 17 00:00:00 2001 From: Nawaz Dhandala Date: Fri, 2 Aug 2019 23:08:06 +0530 Subject: [PATCH] Zapier in gitlab ci --- .gitlab-ci.yml | 15 +++++++++++++++ zapier/package.json | 2 +- 2 files changed, 16 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 8c61dc529b..87d8259c1e 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -48,6 +48,21 @@ build_n_test_dashboard: script: - echo "No test implemented" +##ZAPIER +lint_n_audit_zapier: + stage: Build_n_Test + script: + - cd zapier + - npm install --dev + - npm run lint + - npm run audit + - cd .. + +build_n_test_zapier: + stage: Build_n_Test + script: + - echo "No test implemented" + ## STATUS PAGE lint_n_audit_statuspage: stage: Build_n_Test diff --git a/zapier/package.json b/zapier/package.json index 91417a3961..b5a0da99cc 100755 --- a/zapier/package.json +++ b/zapier/package.json @@ -8,8 +8,8 @@ "main": "index.js", "scripts": { "lint": "eslint .", - "pretest": "eslint --fix --ignore-path .gitignore .", "test": "mocha --recursive", + "fix-lint": "eslint . --fix", "audit": "npm-audit-ci-wrapper --threshold=high" }, "engine": {