| name: reviewdog | |
| on: | |
| pull_request: | |
| types: ['opened', 'ready_for_review', 'reopened', 'synchronize'] | |
| jobs: | |
| node-checks: | |
| name: Node checks | |
| runs-on: ubuntu-latest | |
| if: github.event.pull_request.draft == false | |
| steps: | |
| - uses: actions/setup-go@v5 | |
| with: | |
| go-version: '1.24' | |
| - uses: actions/checkout@v4 | |
| - uses: actions/cache@v4 | |
| with: | |
| key: key | |
| path: ~/.bun/install/cache | |
| - run: make node_modules | |
| - uses: reviewdog/action-eslint@v1 | |
| with: | |
| reporter: github-pr-review | |
| level: warning | |
| fail_level: warning | |
| - uses: reviewdog/action-stylelint@v1 | |
| with: | |
| github_token: ${{ secrets.github_token }} | |
| reporter: github-pr-review | |
| level: warning | |
| fail_level: warning | |
| - name: tsc | |
| run: ./bin/tools/bun run check | |