Files
brave-search-mcp-server/.github/workflows/ci.yml
T
Sampson 32ffbd68a0 ci: run format check, build, and tests on push and PR
npm test previously only ran locally; nothing gated a broken build or
a regression (e.g. from an SDK bump) before merge.
2026-08-11 13:24:52 -05:00

31 lines
553 B
YAML

name: CI
on:
push:
branches:
- main
pull_request:
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3.0
with:
node-version: '24.x'
- name: Install dependencies
run: npm ci
- name: Check formatting
run: npm run format:check
- name: Build (typecheck)
run: npm run build
- name: Test
run: npm test