formatting

This commit is contained in:
cliffhall 2026-03-17 16:43:27 -04:00
commit 4b28a69856

35
.github/workflows/main.yml vendored Normal file
View file

@ -0,0 +1,35 @@
name: Run install, format, lint, build, and test on every push or pull request
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v6
- name: Setup Node.js
uses: actions/setup-node@v6
with:
node-version: '20.x'
cache: 'npm'
- name: Install dependencies
run: npm install
- name: Check formatting
run: npm run format:check
- name: Run linter
run: npm run lint
- name: Run type check
run: npm run typecheck
- name: Run Build
run: npm run build
- name: Run tests
run: npm run test