Skip to content

Commit

Permalink
fix: 🐛 re-fix lint github action
Browse files Browse the repository at this point in the history
  • Loading branch information
Bear29ers committed Jul 4, 2023
1 parent d622034 commit bb7bd35
Showing 1 changed file with 10 additions and 24 deletions.
34 changes: 10 additions & 24 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -1,30 +1,16 @@
name: 'lint'
on:
push:
branches:
- master
- develop
pull_request:
branches:
- master
- develop
name: reviewdog
on: [pull_request]
jobs:
lint:
eslint:
name: runner / eslint
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.x]
permissions:
contents: read
pull-requests: write
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- name: Install dependencies
run: npm install
- name: Reviewdog
uses: reviewdog/action-eslint@v1
- uses: actions/checkout@v3
- uses: reviewdog/action-eslint@v1
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
reporter: github-pr-review
eslint_flags: 'src/'

0 comments on commit bb7bd35

Please sign in to comment.