Skip to content

Frontend unit tests #51

Frontend unit tests

Frontend unit tests #51

Workflow file for this run

name: ESLint
on:
pull_request:
branches: [ main, feat/eslint-config ]
jobs:
lint:
runs-on: ubuntu-latest
defaults:
run:
working-directory: frontend
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: '20'
cache: 'npm'
cache-dependency-path: frontend/package-lock.json
- name: Install dependencies
run: npm ci
- name: Run ESLint
run: npm run lint