From 84f4e64bd0bd0345a9bba7a3d69581cbed5fb7ca Mon Sep 17 00:00:00 2001 From: Ryan Cao <70191398+ryanccn@users.noreply.github.com> Date: Mon, 29 Aug 2022 11:21:57 +0800 Subject: [PATCH] add fancy linting --- .github/workflows/lint.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 66dd9bf..75af5fc 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -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'