Skip to content

fix(all): lints and fmt and clippy #32

fix(all): lints and fmt and clippy

fix(all): lints and fmt and clippy #32

Workflow file for this run

name: Lint frontend
on:
push:
paths:
- '.github/workflows/lint-frontend.yml'
- 'package.json'
- 'frontend/**/*'
pull_request:
paths:
- '.github/workflows/lint-frontend.yml'
- 'package.json'
- 'frontend/**/*'
concurrency:
group: ${{ github.ref }}-${{ github.workflow }}
cancel-in-progress: true
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v2
with:
node-version: '20'
- name: Install dependencies
run: npm install
working-directory: frontend
- name: Lint
run: npx eslint ./src/**/*.ts --ext .ts,.tsx
working-directory: frontend