Skip to content

Fix lint issue

Fix lint issue #1842

Workflow file for this run

name: Lint
on:
push:
paths-ignore:
- ".github/workflows/**"
workflow_dispatch:
jobs:
lint:
name: Lint
runs-on: ubuntu-22.04
steps:
- name: Check out repo
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Set up Node
uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4.1.0
with:
cache: "npm"
cache-dependency-path: "**/package-lock.json"
- name: Lint and spellcheck
run: |
npm ci
npm run lint
npm run spellcheck