Skip to content

fix(quota): micro-dollar budget precision + fail-closed on counter error (F-04) #567

fix(quota): micro-dollar budget precision + fail-closed on counter error (F-04)

fix(quota): micro-dollar budget precision + fail-closed on counter error (F-04) #567

Workflow file for this run

name: CI
on:
push:
branches:
- main
- fix/npm-audit
pull_request:
jobs:
validate:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: 22
cache: npm
- name: Install dependencies
run: npm ci
# The browser integration suites drive a real Chromium — they exist to
# catch the class of defect that passes a mocked test and fails in
# production (a Playwright option silently ignored, a locator that
# resolves to nothing). Without the binary they skip themselves, which
# would quietly remove that coverage from CI.
- name: Install Chromium for browser tests
run: npx playwright install --with-deps chromium
- name: Lint
run: npm run lint
- name: Test
run: npm run test
- name: Build
run: npm run build
- name: Docker builder parity
run: docker build --target builder .
- name: Build docs
run: npm run docs:build
- name: Production dependency audit
run: npm audit --omit=dev --audit-level=high
continue-on-error: true
- name: License summary
run: npx license-checker --production --summary