Skip to content

ESLint

ESLint #226

Workflow file for this run

name: ESLint
on:
push:
branches: ["main"]
pull_request:
branches: ["*"]
merge_group:
branches: ["main"]
jobs:
eslint:
name: eslint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Cache node modules
uses: actions/cache@v3
with:
path: buffet-app/node_modules
key: npm-${{ hashFiles('**/package-lock.json') }}
- name: Install dependencies
run: |
cd buffet-app
npm install --include=dev
npm run lint