Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 29 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: CI

on:
push:
branches: [main]
pull_request:

jobs:
build:
name: Type-check and build
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: 20
cache: npm

- name: Install dependencies
run: npm ci

- name: Type-check
run: npm run check

- name: Build
run: npm run build
2 changes: 1 addition & 1 deletion client/src/components/shared/LiveAudioDiscernment.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -356,7 +356,7 @@ export function LiveAudioDiscernment() {

const mediaRecorderRef = useRef<MediaRecorder | null>(null);
const chunksRef = useRef<Blob[]>([]);
const streamIntervalRef = useRef<NodeJS.Timer | null>(null);
const streamIntervalRef = useRef<ReturnType<typeof setInterval> | null>(null);

const handleConsent = () => {
localStorage.setItem(CONSENT_STORAGE_KEY, "true");
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "rest-express",
"version": "1.0.0",
"type": "module",
"license": "MIT",
"license": "BUSL-1.1",
"scripts": {
"dev:client": "vite dev --port 5000",
"dev": "NODE_ENV=development tsx server/index.ts",
Expand Down
1 change: 0 additions & 1 deletion server/replit_integrations/audio/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
export { registerAudioRoutes } from "./routes";
export {
openai,
detectAudioFormat,
Expand Down
85 changes: 0 additions & 85 deletions server/replit_integrations/audio/routes.ts

This file was deleted.

Loading