Skip to content

v0.1.0: browser microphone capture with decibri API parity #1

v0.1.0: browser microphone capture with decibri API parity

v0.1.0: browser microphone capture with decibri API parity #1

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
build-and-test:
runs-on: ubuntu-latest
strategy:
matrix:
node: [18, 20, 22]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}
- run: npm ci
- run: npm run lint
- run: npm test
- run: npm run build
- name: Check bundle size
run: |
SIZE=$(wc -c < dist/index.mjs)
echo "ESM bundle: $SIZE bytes"
if [ "$SIZE" -gt 10240 ]; then
echo "::error::Bundle exceeds 10KB limit ($SIZE bytes)"
exit 1
fi