From e218f064fe6357f6f3caa824ec2a3f4db8bcce99 Mon Sep 17 00:00:00 2001 From: Peter Pan Date: Sat, 5 Sep 2020 17:40:26 +0800 Subject: [PATCH] Update lint.yml --- .github/workflows/lint.yml | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 9c9bc597..9ec7b4b9 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -17,13 +17,9 @@ jobs: ./scripts/install.sh yarn - name: Run linters - uses: wearerequired/lint-action@v1 - with: - github_token: ${{ secrets.GITHUB_TOKEN }} - eslint: true - eslint_dir: frontend/ - eslint_extensions: js,ts,jsx,tsx - eslint_args: "--max-warnings 0 --ignore-path .gitignore" + run: | + cd frontend + yarn lint lint_be: name: Lint BE runs-on: ubuntu-latest -- GitLab