Skip to content

Lint Fix

Lint Fix #145

Workflow file for this run

name: Frontend Linting ESLint
on:
push:
branches:
- '*'
jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v2
- name: Check frontend/package.json
run: |
if [ ! -f Frontend/package.json ]; then
echo "No package.json found in frontend folder. Exiting..."
exit 1
fi
- name: Setup Node.js
uses: actions/setup-node@v2
with:
node-version: '18'
- name: Install Dependencies
working-directory: Frontend
run: npm install --legacy-peer-deps
- name: Run ESLint
working-directory: Frontend
run: npm run lint