Skip to content

Merge pull request #150 from oss-slu/issue#141/fixing-field-filter #79

Merge pull request #150 from oss-slu/issue#141/fixing-field-filter

Merge pull request #150 from oss-slu/issue#141/fixing-field-filter #79

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: '15'
- name: Install Dependencies
working-directory: Frontend
run: npm install
- name: Run ESLint
working-directory: Frontend
run: npm run lint