Add eslint (#294)

* Add eslint

* Add eslint github action
This commit is contained in:
Chenlei Hu
2024-08-04 09:35:49 -04:00
committed by GitHub
parent b5a919e8b2
commit 4bebcb408e
6 changed files with 1314 additions and 12 deletions

25
.github/workflows/eslint.yaml vendored Normal file
View File

@@ -0,0 +1,25 @@
name: ESLint
on:
push:
branches:
- main
- master
- 'dev*'
pull_request:
branches:
- main
- master
- 'dev*'
jobs:
eslint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version: lts/*
- run: npm ci
- run: npm run lint