add fancy linting

This commit is contained in:
Ryan Cao 2022-08-29 11:21:57 +08:00
parent 8852026e2c
commit 84f4e64bd0
No known key found for this signature in database
GPG key ID: 528A2C1B6656B97F

View file

@ -8,4 +8,10 @@ jobs:
steps:
- uses: actions/checkout@v2
- run: yarn install --frozen-lockfile
- run: yarn lint
- run: eslint --output-file eslint_report.json --format json
continue-on-error: true
- name: Annotate Code Linting Results
uses: ataylorme/eslint-annotate-action@1.0.4
with:
repo-token: '${{ secrets.GITHUB_TOKEN }}'
report-json: 'eslint_report.json'