Fix tab matching logic #1725
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: Code Quality checks | |
on: | |
pull_request: | |
branches: [main] | |
concurrency: | |
group: | |
${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} | |
cancel-in-progress: true | |
jobs: | |
prettier: | |
name: Prettier | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: "21.x" | |
cache: npm | |
- name: Install dependencies | |
run: npm install | |
- name: Check formatting with Prettier | |
run: npm run prettier:check:ci | |
eslint: | |
name: Eslint | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: "21.x" | |
cache: npm | |
- name: Install dependencies | |
run: npm install | |
- name: Check linting with eslint | |
run: npm run lint |