From 139653f03ce2d86056acaf02feddf86ba3580f71 Mon Sep 17 00:00:00 2001 From: Saket Patel Date: Tue, 24 Sep 2024 15:21:16 +0530 Subject: [PATCH] PREAPPS-8034 Remove security audit job --- .circleci/config.yml | 36 +++--------------------------------- package.json | 1 - 2 files changed, 3 insertions(+), 34 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 20abaf83..cbf18814 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -73,34 +73,6 @@ jobs: name: Lint typescript source code command: npm run lint - security-audit: - <<: *config - steps: - - checkout - - # Download node_modules dependencies - - restore_cache: - keys: - - v1-dependencies-{{ .Branch }}-{{ checksum "package.json" }} - # fallback to using the cache from the same branch - - v1-dependencies-{{ .Branch }}- - # fallback to using the latest cache if no exact match is found - - v1-dependencies- - - # TODO PREAPPS-7520 - - run: - name: Set correct npm version - command: sudo npm install -g npm@6 - - # Install dependencies - do this AFTER we do the optional branch checkout of the api client - - run: - name: Install npm modules - command: npm install --no-audit - - - run: - name: Run security audit - command: npm run security:audit - ############################################################################ workflows: @@ -109,14 +81,12 @@ workflows: jobs: - build - - security-audit - - lint: requires: - build - - unit: - requires: - - build + # - unit: + # requires: + # - build ############################################################################ diff --git a/package.json b/package.json index 4239916c..a6821e12 100644 --- a/package.json +++ b/package.json @@ -28,7 +28,6 @@ "size": "echo \"Gzipped Size: $(gzip-size $npm_package_main | pretty-bytes)\"", "prepublishOnly": "npm test && npm run build && git commit -am $npm_package_version && git tag $npm_package_version && git push && git push --tags", "publish:beta": "npm publish --tag=beta", - "security:audit": "npx audit-ci@^6 --moderate --report-type summary --pass-enoaudit --skip-dev", "prepare": "is-ci || husky install" }, "keywords": [