Skip to content

Commit e4154ed

Browse files
committed
Added run lint in github actions
1 parent 246cf66 commit e4154ed

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

.github/workflows/build.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,18 @@ jobs:
3535
- run: uv tool install pre-commit
3636
- run: pre-commit run -a --show-diff-on-failure
3737

38+
frontend-lint:
39+
runs-on: ubuntu-latest
40+
defaults:
41+
run:
42+
working-directory: frontend
43+
steps:
44+
- uses: actions/checkout@v4
45+
- name: Install modules
46+
run: npm install
47+
- name: Run Eslint
48+
run: eslint --ext .js,.jsx,.ts,.tsx --max-warnings=0 --no-warn-ignored
49+
3850
frontend-build:
3951
runs-on: ubuntu-latest
4052
defaults:

0 commit comments

Comments
 (0)