Skip to content

ci: setup eslint workflow #9

ci: setup eslint workflow

ci: setup eslint workflow #9

Workflow file for this run

name: Lint
on:
push:
branches:
- main
pull_request:
types: [opened, synchronize, reopened]
jobs:
lint:
name: Lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Node.js
uses: actions/setup-node@v4
with:
node-version: lts/*
cache: 'npm'
- name: Install dependencies
run: npm ci --no-audit
- name: Lint
run: npm run lint