Skip to content

Commit

Permalink
make flow 1 worker on ci
Browse files Browse the repository at this point in the history
  • Loading branch information
SimenB committed Jan 26, 2019
1 parent 9856d62 commit d392710
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
1 change: 1 addition & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ jobs:
- restore-cache: *restore-cache
- run: yarn --no-progress --frozen-lockfile
- save-cache: *save-cache
- run: echo server.max_workers=1 >> .flowconfig
- run: yarn lint --format junit -o reports/junit/js-lint-results.xml && yarn typecheck && yarn lint-es5-build --format junit -o reports/junit/js-es5-lint-results.xml && yarn lint:md:ci && yarn check-copyright-headers
- store_test_results:
path: reports/junit
Expand Down
14 changes: 7 additions & 7 deletions .flowconfig
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,6 @@
.*/node_modules/metro/.*
.*/node_modules/module-deps/.*

[options]
module.name_mapper='^pretty-format$' -> '<PROJECT_ROOT>/packages/pretty-format/src/index.js'
module.name_mapper='^types/\(.*\)$' -> '<PROJECT_ROOT>/types/\1.js'
module.name_mapper='\(jest-[^/]*\)' -> '<PROJECT_ROOT>/packages/\1/src/index.js'
include_warnings=true
emoji=true

[strict]
nonstrict-import
unclear-type
Expand All @@ -20,3 +13,10 @@ untyped-type-import

[version]
^0.91.0

[options]
module.name_mapper='^pretty-format$' -> '<PROJECT_ROOT>/packages/pretty-format/src/index.js'
module.name_mapper='^types/\(.*\)$' -> '<PROJECT_ROOT>/types/\1.js'
module.name_mapper='\(jest-[^/]*\)' -> '<PROJECT_ROOT>/packages/\1/src/index.js'
include_warnings=true
emoji=true

0 comments on commit d392710

Please sign in to comment.