Skip to content

feat: updated development environment #3

feat: updated development environment

feat: updated development environment #3

Workflow file for this run

name: Reviewdog
on:
pull_request:
workflow_dispatch:
jobs:
linters:
name: Linters
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- name: Run linters
run: |
./dev.sh npm ci
./dev.sh npm run format
./dev.sh npm run lint:sarif
continue-on-error: true
- uses: reviewdog/action-setup@v1
- name: Setup tmate session
uses: mxschmitt/action-tmate@v3
- name: Run reviewdog
env:
REVIEWDOG_GITHUB_API_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
reviewdog -f=diff -name=prettier -diff="git diff" -reporter=github-pr-check
cat eslint-sarif.json | reviewdog -f=sarif -name=eslint -reporter=github-pr-check