Skip to content

perf(chat): add throttling to pending messages for smoother UI update… #388

perf(chat): add throttling to pending messages for smoother UI update…

perf(chat): add throttling to pending messages for smoother UI update… #388

Workflow file for this run

name: Build
on:
push:
branches: ['main']
workflow_dispatch:
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-latest
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
steps:
- uses: actions/checkout@v4
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: lts/*
cache: 'npm'
- name: Install dependencies
run: npm ci
- name: Test
run: |
if [ -f "package.json" ] && grep -q '"test"' package.json; then
npm test
else
echo "No test script defined, skipping tests."
fi
- name: Build
run: npm run build:prod