[ESLint] update version #2138
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: ESLint | |
run-name: '[ESLint] ${{ github.event.head_commit.message }}' | |
on: push | |
jobs: | |
run-linters: | |
name: Run linters | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out Git repository | |
uses: actions/checkout@v4 | |
- name: Install Bun | |
uses: oven-sh/setup-bun@v1 | |
with: | |
bun-version: latest | |
# ESLint and Prettier must be in `package.json` | |
- name: Install dependencies | |
run: bun install --frozen-lockfile | |
- name: Run linters | |
uses: wearerequired/lint-action@v2 | |
with: | |
auto_fix: true | |
eslint: true |