From cb28cf1b27044ae09f745d9a86c39886c826bcec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?B=C3=A1lint=20Berente?= <30603208+berenteb@users.noreply.github.com> Date: Mon, 19 Feb 2024 17:56:51 +0100 Subject: [PATCH] fix: lint check --- .github/workflows/lint.yml | 24 ++++++++++-------------- 1 file changed, 10 insertions(+), 14 deletions(-) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index dd3648ed6..8b94cbdae 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -23,23 +23,19 @@ jobs: - name: Check out Git repository uses: actions/checkout@v3 - - name: Set up Node.js 16 + - name: Set up Node.js 20 uses: actions/setup-node@v3 with: - node-version: 16 + node-version: 20 - name: Install Node.js dependencies run: yarn install - - name: ESLint + Prettier CI - uses: wearerequired/lint-action@v2 - with: - eslint: true - eslint_args: "--ignore-path .gitignore ." - eslint_extensions: ts,tsx,js,jsx - eslint_dir: frontend/ - prettier: true - prettier_args: "--check --ignore-path .gitignore ." - prettier_dir: frontend/ - auto_fix: true - commit_message: "[lint] Fix code ${linter}" + - name: ESLint + run: yarn lint:eslint + + - name: Prettier + run: yarn lint:eslint + + - name: TSC + run: yarn lint:typescript