Skip to content

Feature/client feedback #109

Feature/client feedback

Feature/client feedback #109

Workflow file for this run

name: Lint Code Base
on:
pull_request:
branches: [ main, develop ]
jobs:
lint:
name: Run ESLint
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: 18
- name: Cache node modules
uses: actions/cache@v4
with:
path: ~/.npm
key: ${{ runner.os }}-modules-${{ hashFiles('frontend/package-lock.json') }}
- name: Install Node.js dev dependencies
run: npm install --only=dev
- name: Run lint
run: npm run lint