Skip to content
This repository was archived by the owner on May 17, 2019. It is now read-only.

Commit 2948e88

Browse files
authored
Add Flow step to pipeline.yml (#17)
1 parent a55f875 commit 2948e88

File tree

4 files changed

+25
-1
lines changed

4 files changed

+25
-1
lines changed

.buildkite/pipeline.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,11 @@ steps:
55
build: fusion-plugin-rpc-redux-react
66
image-repository: 296822479253.dkr.ecr.us-east-2.amazonaws.com/fusionjs
77
- wait
8+
- command: yarn flow
9+
name: ':flowtype:'
10+
plugins:
11+
'docker-compose#v1.7.0':
12+
run: fusion-plugin-rpc-redux-react
813
- name: ':eslint:'
914
command: yarn lint
1015
plugins:

.flowconfig

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
[ignore]
2+
.*/node_modules/.*[^(package)]\.json$
3+
4+
[include]
5+
./src/
6+
7+
[libs]
8+
9+
[lints]
10+
11+
[options]
12+
suppress_comment= \\(.\\|\n\\)*\\$FlowIgnore
13+
14+
[strict]

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,9 @@
4242
"eslint-plugin-flowtype": "^2.39.1",
4343
"eslint-plugin-prettier": "^2.3.1",
4444
"eslint-plugin-react": "^7.4.0",
45-
"fusion-react": "^0.1.9",
45+
"flow-bin": "^0.59.0",
4646
"fusion-core": "^0.2.3",
47+
"fusion-react": "^0.1.9",
4748
"fusion-react-async": "0.1.4",
4849
"prettier": "1.8.2",
4950
"react": "^16.1.1",

yarn.lock

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1917,6 +1917,10 @@ flat-cache@^1.2.1:
19171917
graceful-fs "^4.1.2"
19181918
write "^0.2.1"
19191919

1920+
flow-bin@^0.59.0:
1921+
version "0.59.0"
1922+
resolved "https://registry.npmjs.org/flow-bin/-/flow-bin-0.59.0.tgz#8c151ee7f09f1deed9bf0b9d1f2e8ab9d470f1bb"
1923+
19201924
for-each@~0.3.2:
19211925
version "0.3.2"
19221926
resolved "https://registry.yarnpkg.com/for-each/-/for-each-0.3.2.tgz#2c40450b9348e97f281322593ba96704b9abd4d4"

0 commit comments

Comments
 (0)