Skip to content

feat(web): make the sidebar width adjustable #120

feat(web): make the sidebar width adjustable

feat(web): make the sidebar width adjustable #120

Workflow file for this run

name: CI
on:
push:
branches: [main, 'phase-*']
pull_request:
jobs:
build:
runs-on: ubuntu-latest
# Postgres for the relay's integration tests (registries + RLS + auth). The tests apply the
# Drizzle migrations themselves; we only provide the database. Connects as the superuser
# `postgres`, which can SET ROLE telecode_app for the RLS-enforcement path.
services:
postgres:
image: postgres:17
env:
POSTGRES_PASSWORD: postgres
POSTGRES_DB: telecode_test
ports:
- 5432:5432
options: >-
--health-cmd pg_isready
--health-interval 10s
--health-timeout 5s
--health-retries 5
env:
DATABASE_URL: postgresql://postgres:postgres@localhost:5432/telecode_test
steps:
- uses: actions/checkout@v4
- name: Install pnpm
uses: pnpm/action-setup@v4
- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version: 22
cache: pnpm
- run: pnpm install --frozen-lockfile
- run: pnpm typecheck
- run: pnpm lint
- run: pnpm format:check
- run: pnpm test
e2e:
runs-on: ubuntu-latest
# The auth e2e drives the real relay (with auth + a database); global-setup applies migrations.
services:
postgres:
image: postgres:17
env:
POSTGRES_PASSWORD: postgres
POSTGRES_DB: telecode_test
ports:
- 5432:5432
options: >-
--health-cmd pg_isready
--health-interval 10s
--health-timeout 5s
--health-retries 5
env:
DATABASE_URL: postgresql://postgres:postgres@localhost:5432/telecode_test
CHANNEL_TOKEN_SECRET: ci-channel-token-secret-not-a-real-secret
RELAY_SERVICE_SECRET: ci-relay-service-secret-not-a-real-secret
RELAY_HTTP_URL: http://127.0.0.1:8080
PUBLIC_TELECODE_RELAY_URL: ws://127.0.0.1:8080/ws
APP_URL: http://127.0.0.1:5173
steps:
- uses: actions/checkout@v4
- name: Install pnpm
uses: pnpm/action-setup@v4
- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version: 22
cache: pnpm
- run: pnpm install --frozen-lockfile
- name: Install Playwright browser
run: pnpm --filter @telecode/web exec playwright install --with-deps chromium
- name: Run e2e (sign-in -> relay-connected, through the real stack)
run: pnpm --filter @telecode/web test:e2e