Skip to content

Add stylelint workflow #36

Add stylelint workflow

Add stylelint workflow #36

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