Skip to content

fix(web): fix pre-existing Astro build errors - missing imports and v… #36

fix(web): fix pre-existing Astro build errors - missing imports and v…

fix(web): fix pre-existing Astro build errors - missing imports and v… #36

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
workflow_dispatch:
jobs:
verify:
name: Typecheck, test, audit
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install pnpm
uses: pnpm/action-setup@v4
with:
version: 10
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 22
cache: pnpm
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: Typecheck
run: pnpm -r typecheck
- name: Test
run: pnpm --filter @freellm/gateway test
- name: Audit production dependencies
# Fails the job on any advisory at moderate severity or higher.
# Temporary exceptions are documented in .github/audit-allowlist.json.
run: pnpm audit --prod --audit-level=moderate
continue-on-error: false