Skip to content

Commit 7086e4d

Browse files
committed
reviewdog?
1 parent debe272 commit 7086e4d

2 files changed

Lines changed: 35 additions & 23 deletions

File tree

.github/workflows/check.yml

Lines changed: 34 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -18,43 +18,54 @@ jobs:
1818
checks: write
1919
steps:
2020
- uses: actions/checkout@v4
21-
21+
2222
- uses: actions/setup-node@v4
2323
with:
2424
node-version: "22"
25-
25+
2626
- name: Enable Corepack
2727
run: corepack enable
28-
28+
2929
- name: Install dependencies
3030
run: yarn install
31-
31+
3232
- name: Apply patches
3333
run: |
3434
cd packages/paradigm
3535
bash scripts/patch-if-present.sh
36-
36+
3737
- name: Run typecheck
38-
run: yarn typecheck
39-
38+
uses: EPMatt/reviewdog-action-tsc@v1
39+
with:
40+
github_token: ${{ secrets.GITHUB_TOKEN }}
41+
reporter: github-pr-review
42+
level: error
43+
fail_level: error
44+
4045
- name: Lint server (ESLint)
41-
run: |
42-
cd apps/server
43-
yarn lint --format json --output-file eslint-report.json || true
44-
yarn lint
45-
continue-on-error: true
46-
46+
uses: reviewdog/action-eslint@v1
47+
with:
48+
github_token: ${{ secrets.GITHUB_TOKEN }}
49+
reporter: github-pr-review
50+
eslint_flags: 'src/**/*.mts'
51+
workdir: apps/server
52+
fail_level: any
53+
4754
- name: Lint client (Biome)
48-
run: |
49-
cd apps/client
50-
yarn lint --reporter=github
51-
continue-on-error: true
52-
55+
uses: mongolyy/reviewdog-action-biome@v1
56+
with:
57+
github_token: ${{ secrets.GITHUB_TOKEN }}
58+
reporter: github-pr-review
59+
workdir: apps/client
60+
fail_level: any
61+
5362
- name: Lint paradigm (Biome)
54-
run: |
55-
cd packages/paradigm
56-
yarn lint --reporter=github
57-
continue-on-error: true
58-
63+
uses: mongolyy/reviewdog-action-biome@v1
64+
with:
65+
github_token: ${{ secrets.GITHUB_TOKEN }}
66+
reporter: github-pr-review
67+
workdir: packages/paradigm
68+
fail_level: any
69+
5970
- name: Run tests
6071
run: yarn test

cspell.config.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ words:
1616
- hass
1717
- hassio
1818
- luxon
19+
- mongolyy
1920
- mstile
2021
- nderscore
2122
- nocomment

0 commit comments

Comments
 (0)