Skip to content

Commit

Permalink
fix: lint check
Browse files Browse the repository at this point in the history
  • Loading branch information
berenteb committed Feb 19, 2024
1 parent 47fac2d commit cb28cf1
Showing 1 changed file with 10 additions and 14 deletions.
24 changes: 10 additions & 14 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit cb28cf1

Please sign in to comment.