Skip to content

Renamed to more descriptive eslint-on-push-pr.yml #1

Renamed to more descriptive eslint-on-push-pr.yml

Renamed to more descriptive eslint-on-push-pr.yml #1

name: ESLint
on: [push, pull_request]
jobs:
eslint:
runs-on: ubuntu-latest
steps:
- name: Checkout repository code
uses: actions/checkout@v4
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: 21
- name: Install dependencies
run: npm ci # instead of install to ensure consistency and determinism in CI/CD workflow
- name: Run ESLint
run: npm run lint