mirror of
https://github.com/mostlygeek/llama-swap.git
synced 2026-06-09 06:46:34 +02:00
a4b91e08cf
- update README.md with new docker instructions - update docs/configuration.md - update .github/workflows to have pinned action versions - gofmt events package - fix small bugs in CI scripts - reduce config options for internal/perf/monitor and config. A ring buffer is used to keep 1hr of entries at max 5s granularity. For long term stats use prometheus monitoring on /metrics Fixes #744
34 lines
681 B
YAML
34 lines
681 B
YAML
name: UI Tests
|
|
|
|
on:
|
|
push:
|
|
branches: [ "main" ]
|
|
paths:
|
|
- 'ui-svelte/**'
|
|
- '.github/workflows/ui-tests.yml'
|
|
|
|
pull_request:
|
|
branches: [ "main" ]
|
|
paths:
|
|
- 'ui-svelte/**'
|
|
- '.github/workflows/ui-tests.yml'
|
|
|
|
workflow_dispatch:
|
|
|
|
jobs:
|
|
|
|
run-tests:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # 6.0.2
|
|
|
|
- name: Set up Node.js
|
|
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # 6.4.0
|
|
with:
|
|
node-version: '24'
|
|
cache: 'npm'
|
|
cache-dependency-path: ui-svelte/package-lock.json
|
|
|
|
- name: Run UI tests
|
|
run: make test-ui
|