Skip to content

test(promotion): pin the exact files promoting an assistant writes to the target #74

test(promotion): pin the exact files promoting an assistant writes to the target

test(promotion): pin the exact files promoting an assistant writes to the target #74

Workflow file for this run

name: CI
on:
pull_request:
push:
branches: [main]
permissions:
contents: read
concurrency:
group: ci-${{ github.ref }}
cancel-in-progress: ${{ github.event_name == 'pull_request' }}
jobs:
test:
name: Typecheck and test (Node ${{ matrix.node }})
runs-on: ubuntu-latest
timeout-minutes: 15
strategy:
fail-fast: false
matrix:
# Both majors package.json's engines field claims to support.
node: [20, 22]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}
cache: npm
# The optional audio deps (mic, speaker) only matter for `npm run call`;
# npm tolerates their native build failing on a headless runner.
- run: npm ci
- run: npm run build
- run: npm test