Skip to content

Commit

Permalink
Use yarn link in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
benkimpel committed Jul 3, 2019
1 parent 2e6ce95 commit 1551598
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
command: yarn test

- run: yarn lint

- save_cache:
paths:
- node_modules
Expand Down
7 changes: 4 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,11 @@
"module": "src/index.ts",
"scripts": {
"pretty": "yarn prettier '**/*.*'",
"lint": "yarn pretty --check && yarn eslint .",
"format": "yarn build && yarn pretty --write && yarn eslint --fix .",
"lint": "yarn build && yarn link-plugin && yarn pretty --check && yarn eslint .",
"format": "yarn build && yarn link-plugin && yarn pretty --write && yarn eslint --fix .",
"build": "tsc",
"test": "yarn build && jest"
"test": "yarn build && jest",
"link-plugin": "yarn link && yarn link eslint-plugin-jest-formatting"
},
"peerDependencies": {
"eslint": "5.x"
Expand Down

0 comments on commit 1551598

Please sign in to comment.