Skip to content

workflow追加

workflow追加 #5

Workflow file for this run

name: eslint
on:
pull_request:
branches:
- main
- develop
jobs:
eslint:
name: runner / eslint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: "22"
- run: yarn install
- uses: reviewdog/action-eslint@v1
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
level: error
eslint_flags: "pages/"
reporter: github-pr-review
fail_on_error: true