diff --git a/.github/workflows/reviewdog.yml b/.github/workflows/reviewdog.yml index e7348bdf5..44b4a0d97 100644 --- a/.github/workflows/reviewdog.yml +++ b/.github/workflows/reviewdog.yml @@ -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