diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 923a887..8aa184f 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -28,15 +28,15 @@ jobs: - name: Set up Node.js uses: actions/setup-node@v4 - # ESLint and Prettier must be in `package.json` - name: Install Node.js dependencies run: | npm install npm ci - - name: Run linters - uses: wearerequired/lint-action@v2 - with: - eslint: true - prettier: true - prettier_args: "'./{app,components,lib,tests}/*.{js,jsx,ts,tsx,css,json}' --list-different --config ./.prettierrc" + - name: Run ESlint + run: | + node_modules/.bin/eslint --config ./.eslintrc.json ./app/ ./components/ ./lib/ ./tests/ + + - name: Run Prettier + run: | + node_modules/.bin/prettier --config ./.prettierrc --check './{app,components,lib,tests}/*.{js,jsx,ts,tsx,css,json}'