Skip to content

Commit

Permalink
chore: update ci
Browse files Browse the repository at this point in the history
  • Loading branch information
shellscape committed Jul 8, 2020
1 parent 8ee5d31 commit 38fafe9
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 41 deletions.
7 changes: 2 additions & 5 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,14 +42,11 @@ jobs:
name: NPM Rebuild
command: npm install
- run:
name: Run linting.
name: Run Linting
command: npm run lint
- run:
name: Run NSP Security Check.
name: Run Security Check
command: npm run security
- run:
name: Validate Commit Messages
command: npm run ci:lint:commits
workflows:
version: 2
validate:
Expand Down
32 changes: 0 additions & 32 deletions commitlint.config.js

This file was deleted.

4 changes: 0 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,7 @@
},
"scripts": {
"ci:coverage": "nyc npm run test && nyc report --reporter=text-lcov > coverage.lcov",
"ci:lint": "npm run lint && npm run security",
"ci:lint:commits": "commitlint --from=${CIRCLE_BRANCH} --to=${CIRCLE_SHA1}",
"ci:test": "npm run test",
"commitlint": "commitlint",
"commitmsg": "commitlint -e $GIT_PARAMS",
"lint": "eslint lib test --fix --cache",
"lint-staged": "lint-staged",
"security": "npm audit --audit-level=moderate",
Expand Down

0 comments on commit 38fafe9

Please sign in to comment.