Skip to content

Commit

Permalink
Add workflow for linting frontend (#30)
Browse files Browse the repository at this point in the history
  • Loading branch information
Advayp authored Jan 16, 2025
1 parent f87583f commit b194162
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/lint-frontend.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Lint Frontend

on:
pull_request:
branches: [main]
paths:
- 'frontend/**'

defaults:
run:
working-directory: ./frontend

jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Clone repository
uses: actions/checkout@v2
- name: Setup Node
uses: actions/setup-node@v2
with:
node-version: 23
- name: Install dependencies
run: npm ci --legacy-peer-deps
- name: Lint codebase
run: npm run lint

0 comments on commit b194162

Please sign in to comment.