Skip to content

Commit

Permalink
Update reviewdog.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
masuda-stream authored Sep 23, 2023
1 parent 7ba430c commit 5da3686
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/reviewdog.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,3 +28,23 @@ jobs:
REVIEWDOG_GITHUB_API_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
yarn workspace megalodon lint | reviewdog -f=eslint -reporter=github-pr-review -fail-on-error=true
reviewdog-check:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@master
- name: Use Node.js 18.x
uses: actions/setup-node@v1
with:
node-version: '18.x'
registry-url: 'https://registry.npmjs.org'
- name: Install dependencies
run: |
yarn install
- uses: reviewdog/action-setup@v1
- name: Run eslint
env:
REVIEWDOG_GITHUB_API_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
yarn workspace megalodon lint | reviewdog -f=eslint -reporter=github-check -level=warning

0 comments on commit 5da3686

Please sign in to comment.