Skip to content

lint and build on master PR #111

lint and build on master PR

lint and build on master PR #111

Workflow file for this run

name: Run ESLint
on:
# Trigger the workflow on push or pull request,
# but only for the main branch
push:
branches:
- "*"
pull_request:
branches:
- master
jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Check out Git repository
uses: actions/checkout@v4
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: 20.x
# ESLint and Prettier must be in `package.json`
- name: Install Node.js dependencies
run: npm ci
- name: Run ESLint
run: npm run lint