Add CI workflow on self-hosted runners

This commit is contained in:
Hendrik Garske 2026-05-16 19:13:03 +02:00
parent 3ced1e9e76
commit 5461eef29e

22
.github/workflows/ci.yml vendored Normal file
View file

@ -0,0 +1,22 @@
name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
ci:
runs-on: [self-hosted, linux, x64, docker]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: "20"
cache: npm
- run: npm ci --no-audit --no-fund
- run: npm run build
- run: npm test --if-present