Files
hermes-mcp/.gitea/workflows/ci.yml
Garfield 1ddc1aab19 ci: add Gitea Actions workflow for build + test on push/PR
Runs on every push to main and every PR:
  1. npm ci       — install deps
  2. npm run build — TypeScript type check
  3. npm test      — vitest run (216 tests, all mocked, no DB/Redis needed)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-14 18:00:11 -04:00

32 lines
494 B
YAML

name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: '22'
cache: 'npm'
- name: Install dependencies
run: npm ci
- name: Type check
run: npm run build
- name: Run tests
run: npm test
env:
NODE_ENV: test