Skip to content

Commit

Permalink
🚜 adds depcruise to the ci config
Browse files Browse the repository at this point in the history
  • Loading branch information
sverweij committed Oct 26, 2017
1 parent 99d75e0 commit 4208f0b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ test_async_node_latest:
script:
- npm install
- npm run lint
- npm run depcruise
- npm run nsp
- npm run test:cover
except:
Expand All @@ -19,6 +20,7 @@ test_async_node_6:
script:
- npm install
- npm run lint
- npm run depcruise
- npm run nsp
- npm run test:cover
except:
Expand All @@ -32,6 +34,7 @@ test_async_node_4:
script:
- npm install
- npm run lint
- npm run depcruise
- npm run nsp
- npm run test:cover
except:
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
},
"main": "src/main/index.js",
"scripts": {
"depcruise": "./bin/dependency-cruise -x fixtures -v .dependency-cruiser-custom.json src bin/dependency-cruise test",
"lint": "eslint bin src test",
"lint:fix": "eslint --fix bin src test",
"nsp": "nsp check",
Expand Down

0 comments on commit 4208f0b

Please sign in to comment.