File tree 3 files changed +36
-0
lines changed
3 files changed +36
-0
lines changed Original file line number Diff line number Diff line change
1
+ {
2
+ name : Code Style,
3
+ on : [push, pull_request],
4
+ jobs :
5
+ {
6
+ lint :
7
+ {
8
+ name : Lint,
9
+ runs-on : ubuntu-latest,
10
+ steps :
11
+ [
12
+ { uses: actions/checkout@v2 },
13
+ { uses: actions/setup-node@v1, with: { node-version: 14 } },
14
+ { run: yarn ci },
15
+ { run: yarn lint },
16
+ ],
17
+ },
18
+ format-check :
19
+ {
20
+ name : Format Check,
21
+ runs-on : ubuntu-latest,
22
+ steps :
23
+ [
24
+ { uses: actions/checkout@v2 },
25
+ { uses: actions/setup-node@v1, with: { node-version: 14 } },
26
+ { run: yarn ci },
27
+ { run: yarn format-check },
28
+ ],
29
+ },
30
+ },
31
+ }
Original file line number Diff line number Diff line change
1
+ ** /node_modules
2
+ coverage
3
+ .github /** /* .md
Original file line number Diff line number Diff line change 4
4
"license" : " MIT" ,
5
5
"scripts" : {
6
6
"bootstrap" : " yarn && yarn fix-husky" ,
7
+ "ci" : " yarn install --frozen-lockfile" ,
7
8
"fix-husky" : " ts-node ./scripts/fix-husky.ts" ,
8
9
"repair" : " yarn --check-files && yarn fix-husky" ,
9
10
"list-packages" : " yarn workspaces info && lerna ls" ,
10
11
"ls" : " yarn list-packages" ,
11
12
"lint" : " eslint ." ,
12
13
"format" : " prettier --write ." ,
14
+ "format-check" : " prettier --check ." ,
13
15
"test" : " jest"
14
16
},
15
17
"devDependencies" : {
You can’t perform that action at this time.
0 commit comments