Skip to content

Update package.json #37

Update package.json

Update package.json #37

Workflow file for this run

name: CI eslint
on:
pull_request:
paths:
- ".github/workflows/eslint.yml"
- ".eslintrc.json"
- "package.json"
- "package-lock.json"
- "_site/**.js"
push:
paths:
- ".github/workflows/eslint.yml"
- ".eslintrc.json"
- "package.json"
- "package-lock.json"
- "_site/**.js"
permissions:
contents: read
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
persist-credentials: false
sparse-checkout: "_site"
- uses: actions/setup-node@v4
with:
node-version: 20
cache: npm
- run: npm ci && npm run lint