Skip to content

Simplify workflow

Simplify workflow #31

Workflow file for this run

name: ESLint
on:
pull_request:
types: [opened, synchronize]
concurrency:
group: eslint-${{ github.ref }}
cancel-in-progress: true
jobs:
lint:
runs-on: ubuntu-latest
env:
CI: true
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: 20
- name: Run npm install
if: steps.cache-node-modules.outputs.cache-hit != 'true'
uses: nick-fields/retry@3f757583fb1b1f940bc8ef4bf4734c8dc02a5847
with:
timeout_minutes: 30
max_attempts: 3
command: npm ci
- name: Run ESLint
run: npm run lint