forked from jestjs/jest
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Speed up eslint via built-in caching (jestjs#1941)
* Speed up eslint via built-in caching The first run will be normal speed (~7.7s on my mac), but subsequent runs were just over a second. * Cache safe things on the CI side for a speedup
- Loading branch information
1 parent
99cecb3
commit aadf633
Showing
4 changed files
with
16 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,3 +17,4 @@ website/src/jest/blog | |
lerna-debug.log | ||
npm-debug.log* | ||
coverage | ||
.eslintcache |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,16 @@ | ||
language: node_js | ||
|
||
node_js: | ||
- "4" | ||
- "6" | ||
|
||
sudo: false | ||
|
||
cache: | ||
directories: | ||
- "node_modules" | ||
- ".eslintcache" | ||
|
||
before_install: npm i -g npm@latest | ||
script: | ||
- npm run test-ci | ||
|
||
script: npm run test-ci |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters