Skip to content

fix: resolve CI audit and build failures by upgrading vite and @hono/… #5

fix: resolve CI audit and build failures by upgrading vite and @hono/…

fix: resolve CI audit and build failures by upgrading vite and @hono/… #5

Workflow file for this run

name: CI
on:
push:
branches: [main, develop]
pull_request:
branches: [main]
jobs:
test:
name: Lint & Test
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [20.x, 22.x]
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: npm
- name: Install dependencies
run: npm ci
- name: Run ESLint
run: npm run lint
- name: Run test suite
run: npm test
env:
# Use dummy keys so tests that check for env vars don't fail
GEMINI_API_KEY: test_key_placeholder
GROQ_API_KEY: test_key_placeholder
JWT_SECRET: test_jwt_secret_for_ci_only_not_real
security:
name: Security Audit
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20.x
cache: npm
- run: npm ci
- name: Audit for high/critical vulnerabilities
run: npm audit --audit-level=high