Skip to content

Commit

Permalink
Temporarily remove audit from CircleCI
Browse files Browse the repository at this point in the history
  • Loading branch information
OtterleyW committed Dec 17, 2018
1 parent 2625b44 commit 742782d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 27 deletions.
24 changes: 0 additions & 24 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,34 +69,10 @@ jobs:
- run:
name: Build client application
command: yarn run build
audit:
docker:
- image: circleci/node:10.14
steps:
- checkout
- restore_cache:
name: Restore Yarn Package Cache
keys:
- yarn-packages-{{ .Branch }}-{{ checksum "yarn.lock" }}
- yarn-packages-{{ .Branch }}
- yarn-packages-master
- yarn-packages-
- run:
name: Install Dependencies
command: yarn install
- save_cache:
name: Save Yarn Package Cache
key: yarn-packages-{{ .Branch }}-{{ checksum "yarn.lock" }}
paths:
- node_modules/
- run:
name: Audit dependencies
command: yarn run audit
workflows:
version: 2
format_test_build_audit:
jobs:
- format
- test
- build
- audit
4 changes: 1 addition & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,6 @@
"enzyme-to-json": "^3.3.4",
"inquirer": "^6.2.0",
"nodemon": "^1.17.2",
"nsp": "^3.2.1",
"nsp-preprocessor-yarn": "^1.0.1",
"prettier": "^1.15.3"
},
"scripts": {
Expand All @@ -79,7 +77,7 @@
"start": "node server/index.js",
"dev-server": "export NODE_ENV=development PORT=4000 REACT_APP_CANONICAL_ROOT_URL=http://localhost:4000&&yarn run build&&nodemon --watch server server/index.js",
"heroku-postbuild": "yarn run build",
"audit": "nsp check --preprocessor yarn"
"audit": "yarn audit"
},
"prettier": {
"singleQuote": true,
Expand Down

0 comments on commit 742782d

Please sign in to comment.