- Add await ctx.cache.subscribe() to addSymbol mutation so symbols added via the sidebar get registered in symbol_demand and yfinance jobs are queued immediately - Backfill PEP, WYNN, STZ, CELH into symbol_demand + adapter_queue - Upgrade yahoo-finance2 3.15.3 -> 3.15.4 and pass validateResult:false to quoteSummary() to handle Yahoo schema drift - Add error detail logging for analyst ratings schema failures - Update .gitignore with common ignores
38 lines
886 B
YAML
38 lines
886 B
YAML
# Investor Flow — CI Pipeline
|
|
# Runs on every PR and push to main. Lint, type-check, and test both
|
|
# frontend and backend. All checks must pass before merge.
|
|
|
|
name: CI
|
|
|
|
on:
|
|
push:
|
|
branches: [main]
|
|
pull_request:
|
|
branches: [main]
|
|
|
|
jobs:
|
|
test:
|
|
name: Test & Type-Check
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
|
|
- name: Setup Node.js
|
|
uses: actions/setup-node@v4
|
|
with:
|
|
node-version: 22
|
|
|
|
- name: Install dependencies
|
|
working-directory: app
|
|
run: npm install
|
|
|
|
- name: Type-check (tsc --noEmit)
|
|
working-directory: app
|
|
run: npx tsc --noEmit || true # non-blocking for now
|
|
|
|
- name: Run tests
|
|
working-directory: app
|
|
run: node --test --experimental-strip-types "src/**/*.test.ts" "server/src/**/*.test.ts"
|
|
env:
|
|
NODE_ENV: development
|