ci: add CI workflow

This commit is contained in:
Alexa Amundson
2026-03-09 06:54:03 -05:00
parent 3eb0f754f3
commit 268eab9641

15
.github/workflows/ci.yml vendored Normal file
View File

@@ -0,0 +1,15 @@
name: CI
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '20'
cache: 'npm'
- run: npm ci
- run: npm test --if-present
- run: npm run lint --if-present
- run: npm run build --if-present