- backend-ci.yml: remove || true from govulncheck - frontend-ci.yml: remove || true from npm audit - cd.yml: upgrade checkout@v3 -> v4, buildx-action@v2 -> v3 - chat-ci.yml: replace actions-rs/toolchain@v1 with dtolnay/rust-toolchain@stable - stream-ci.yml: replace actions-rs/toolchain@v1 with dtolnay/rust-toolchain@stable Zero remaining `|| true` patterns across all 11 workflow files. Zero remaining deprecated action references. Completes CI hardening started in C1. Co-authored-by: Cursor <cursoragent@cursor.com>
39 lines
733 B
YAML
39 lines
733 B
YAML
name: Frontend CI
|
|
|
|
on:
|
|
push:
|
|
paths:
|
|
- "apps/web/**"
|
|
- ".github/workflows/frontend-ci.yml"
|
|
pull_request:
|
|
paths:
|
|
- "apps/web/**"
|
|
- ".github/workflows/frontend-ci.yml"
|
|
|
|
jobs:
|
|
test:
|
|
runs-on: ubuntu-latest
|
|
|
|
defaults:
|
|
run:
|
|
working-directory: apps/web
|
|
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
|
|
- name: Set up Node
|
|
uses: actions/setup-node@v4
|
|
with:
|
|
node-version: "20"
|
|
cache: 'npm'
|
|
cache-dependency-path: apps/web/package-lock.json
|
|
|
|
- name: Install dependencies
|
|
run: npm ci
|
|
|
|
- name: Audit dependencies
|
|
run: npm audit --audit-level=high
|
|
|
|
- name: Run tests
|
|
run: npm run test -- --run
|
|
|