Skip to content

Prod readiness week2 #5

Prod readiness week2

Prod readiness week2 #5

Workflow file for this run

name: CI
on:
push:
branches: [main, llm_integration]
pull_request:
branches: [main]
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: '20'
cache: 'npm'
- name: Install dependencies
run: npm ci
- name: Run typecheck
run: npm run typecheck
- name: Run lint
run: npm run lint
- name: Run tests
run: npm test -- --run
- name: Build project
run: npm run build
# Optional: Upload coverage (can be enabled later with Codecov)
# - name: Test coverage
# run: npm test -- --coverage --run
#
# - name: Upload coverage to Codecov
# uses: codecov/codecov-action@v3
# with:
# files: ./coverage/coverage-final.json