File tree 2 files changed +38
-0
lines changed 2 files changed +38
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : PR Check
2
+
3
+ on :
4
+ pull_request :
5
+ branches :
6
+ - main
7
+
8
+ permissions :
9
+ id-token : write
10
+ contents : read
11
+ pull-requests : write
12
+
13
+ jobs :
14
+ pr-check :
15
+ runs-on : ubuntu-latest
16
+ steps :
17
+ - name : Checkout
18
+ uses : actions/checkout@v4
19
+ - name : Install pnpm
20
+ uses : pnpm/action-setup@v4
21
+ - name : Setup Node.js 20.x
22
+ uses : actions/setup-node@v4
23
+ with :
24
+ node-version : 20.x
25
+ cache : " pnpm"
26
+ - name : Install dependencies
27
+ run : pnpm install
28
+ - name : Type check
29
+ run : pnpm type-check
30
+ - name : Biome check
31
+ uses : mongolyy/reviewdog-action-biome@v1
32
+ with :
33
+ github_token : ${{ secrets.GITHUB_TOKEN }}
34
+ reporter : github-pr-review
35
+
Original file line number Diff line number Diff line change 17
17
"scripts" : {
18
18
"dev" : " turbo dev" ,
19
19
"build" : " turbo build" ,
20
+ "lint" : " biome lint" ,
21
+ "lint:fix" : " biome lint --write" ,
20
22
"format" : " biome format" ,
21
23
"format:fix" : " biome format --write" ,
24
+ "check" : " biome check" ,
22
25
"test" : " turbo test" ,
23
26
"clean" : " turbo clean" ,
24
27
"changeset" : " changeset" ,
You can’t perform that action at this time.
0 commit comments