Skip to content

Linter

Linter #141

Workflow file for this run

name: Linter
on:
push:
branches: [main]
pull_request:
branches: [main]
schedule:
- cron: "31 1,12 * * *"
workflow_dispatch:
permissions:
contents: read
concurrency:
group: linter-${{ github.ref }}
cancel-in-progress: true
jobs:
linter:
if: github.event_name != 'pull_request' || github.event.pull_request.draft == false
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v5
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version-file: .node-version
cache: npm
- name: Install dependencies
run: npm ci
- name: Run ESLint
run: npm run lint