first draft of lint/format check github action

This commit is contained in:
jalensailin
2025-08-26 16:35:09 -04:00
parent a23497d28a
commit f3d0cc2d2c
2 changed files with 31 additions and 1 deletions
+29
View File
@@ -0,0 +1,29 @@
name: Format / Lint Check
on:
pull_request:
branches:
- master
jobs:
lint:
name: Lint and Format Check
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: "22"
- name: Install dependencies
run: npm ci
- name: Run ESLint
run: npm run lint
- name: Check Prettier formatting
run: npm run format:check