mirror of
https://github.com/db9979/tiefenkontakt.git
synced 2026-12-05 12:24:12 +01:00
- Escorts: bridge lookouts (periscope feather, snorkel, surfaced boats, torpedo tracks), spoken sighting reports, 3D bridge station with binoculars and own foredeck, lookout hit inset - 3D sea split into models/shaders: multi-wave ocean with whitecaps, clouds, sun and moon, detailed ships with smoke and turning radar - Radar room rebuilt as phosphor PPI with range scales, ESM rose and radar status; NATO symbols on plot, mission charts and replay - Sortable and filterable contact list, leaderboard and alert log; smoothed list bearings; clear convoy progress bar - Ops: backups, metrics, structured logs, CI, Elo ratings, private matches, corvette and coastal sub, network load test - Mail: configurable SMTP (Gmail/iCloud), signal-style HTML mails with inline sonar header, mail test command - Fixes: spoofable client IP behind proxy, phone layout and lost taps, stacked debriefs, station 5 rejected by server - Raspberry Pi deploy script and .env.example
32 lines
890 B
YAML
32 lines
890 B
YAML
# Typecheck, tests and build on every push and pull request; the Docker image is built too.
|
|
name: CI
|
|
on:
|
|
push:
|
|
pull_request:
|
|
jobs:
|
|
test:
|
|
runs-on: ubuntu-latest
|
|
timeout-minutes: 15
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- uses: actions/setup-node@v4
|
|
with:
|
|
node-version: 22
|
|
cache: npm
|
|
- run: npm ci
|
|
- run: npm run typecheck
|
|
- run: npm test
|
|
- run: npm -w @tk/client run build
|
|
docker:
|
|
runs-on: ubuntu-latest
|
|
needs: test
|
|
timeout-minutes: 15
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- run: docker build -t tiefenkontakt:ci .
|
|
- name: Container starts and answers
|
|
run: |
|
|
docker run -d --name tk -p 8787:8787 -e COOKIE_SECURE=0 tiefenkontakt:ci
|
|
for i in $(seq 1 30); do curl -sf localhost:8787/api/health && exit 0; sleep 1; done
|
|
docker logs tk; exit 1
|