Skip to content

Commit

Permalink
ci: fix linter and run npm install
Browse files Browse the repository at this point in the history
  • Loading branch information
nodech committed Sep 7, 2018
1 parent 8da494f commit c994a5b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ jobs:
- v1-dependencies-{{ checksum "package.json" }}
# fallback to using the latest cache if no exact match is found
- v1-dependencies-
- run: npm install
- run:
name: Tests with coverage
command: npm run test-ci
Expand All @@ -49,9 +50,10 @@ jobs:
- v1-dependencies-{{ checksum "package.json" }}
# fallback to using the latest cache if no exact match is found
- v1-dependencies-
- run: npm install
- run:
name: Lint
command: npm run lint
command: npm run lint-ci

workflows:
version: 2
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@
"docs": "jsdoc -c jsdoc.json",
"lint": "eslint $(cat .eslintfiles) || exit 0",
"lint-file": "eslint",
"lint-ci": "eslint $(cat .eslintfiles)",
"test": "mocha --reporter spec test/*.js",
"test-browser": "NODE_BACKEND=js mocha --reporter spec test/*.js",
"test-file": "mocha --reporter spec",
Expand Down

0 comments on commit c994a5b

Please sign in to comment.