Skip to content

feat: added cool feature #7

feat: added cool feature

feat: added cool feature #7

Workflow file for this run

name: Linters
on:
pull_request:
workflow_dispatch:
permissions:
contents: read
pull-requests: write
jobs:
prettier:
name: Prettier
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: |
./dev.sh npm ci
./dev.sh npm run format
- uses: reviewdog/action-suggester@v1
with:
tool_name: prettier
eslint:
name: Eslint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: reviewdog/action-setup@v1
- name: Run eslint
env:
REVIEWDOG_GITHUB_API_TOKEN: ${{ github.token }}
run: |
./dev.sh npm ci
./dev.sh npm run lint -- -f checkstyle -o eslint.xml
cat eslint.xml | reviewdog -f=checkstyle -name=eslint -reporter=github-pr-check