File tree Expand file tree Collapse file tree 7 files changed +42
-2
lines changed Expand file tree Collapse file tree 7 files changed +42
-2
lines changed Original file line number Diff line number Diff line change
1
+ # Set the default behavior, in case people don’t have core.autocrlf set.
2
+ * text =auto
3
+
4
+ # Declare files that will always have LF line endings on checkout.
5
+ * .js text eol =lf
6
+ * .jsx text eol =lf
7
+
8
+ # Denote all files that are truly binary and should not be modified.
9
+ * .png binary
10
+ * .jpg binary
Original file line number Diff line number Diff line change @@ -3,9 +3,27 @@ name: Node.js CI
3
3
on : [push]
4
4
5
5
jobs :
6
+ lint :
7
+ runs-on : ubuntu-latest
8
+
9
+ strategy :
10
+ matrix :
11
+ node-version : [14.x]
12
+
13
+ steps :
14
+ - uses : actions/checkout@v2
15
+ - name : Use Node.js ${{ matrix.node-version }}
16
+ uses : actions/setup-node@v1
17
+ with :
18
+ node-version : ${{ matrix.node-version }}
19
+ - name : Install Dependencies
20
+ run : yarn
21
+ - name : Lint
22
+ run : yarn lint
23
+
6
24
test :
7
25
runs-on : ubuntu-latest
8
-
26
+
9
27
strategy :
10
28
matrix :
11
29
node-version : [14.x]
Original file line number Diff line number Diff line change
1
+ coverage
2
+ dist
3
+ node_modules
Original file line number Diff line number Diff line change
1
+ {}
Original file line number Diff line number Diff line change 1
1
# apollo-gateway
2
- Webpack Module Federation Apollo based gateway
2
+
3
+ Webpack Module Federation Apollo based gateway
Original file line number Diff line number Diff line change 8
8
"scripts" : {
9
9
"build" : " rollup -c" ,
10
10
"dev" : " rollup -c -w" ,
11
+ "lint" : " prettier --loglevel warn --check ." ,
11
12
"test" : " jest --coverage"
12
13
},
13
14
"peerDependencies" : {
23
24
"cz-conventional-changelog" : " ^3.3.0" ,
24
25
"graphql" : " ^15.5.0" ,
25
26
"jest" : " ^26.6.3" ,
27
+ "prettier" : " ^2.2.1" ,
26
28
"rollup" : " ^2.39.0"
27
29
},
28
30
"config" : {
Original file line number Diff line number Diff line change @@ -4322,6 +4322,11 @@ prelude-ls@~1.1.2:
4322
4322
resolved "https://registry.yarnpkg.com/prelude-ls/-/prelude-ls-1.1.2.tgz#21932a549f5e52ffd9a827f570e04be62a97da54"
4323
4323
integrity sha1-IZMqVJ9eUv/ZqCf1cOBL5iqX2lQ=
4324
4324
4325
+ prettier@^2.2.1 :
4326
+ version "2.2.1"
4327
+ resolved "https://registry.yarnpkg.com/prettier/-/prettier-2.2.1.tgz#795a1a78dd52f073da0cd42b21f9c91381923ff5"
4328
+ integrity sha512-PqyhM2yCjg/oKkFPtTGUojv7gnZAoG80ttl45O6x2Ug/rMJw4wcc9k6aaf2hibP7BGVCCM33gZoGjyvt9mm16Q==
4329
+
4325
4330
pretty-format@^26.0.0, pretty-format@^26.6.2 :
4326
4331
version "26.6.2"
4327
4332
resolved "https://registry.yarnpkg.com/pretty-format/-/pretty-format-26.6.2.tgz#e35c2705f14cb7fe2fe94fa078345b444120fc93"
You can’t perform that action at this time.
0 commit comments