From 6992c236dc36440211a103aee59e9aeaf835bdf9 Mon Sep 17 00:00:00 2001 From: Jan-Peter von Hunnius Date: Sun, 30 Aug 2026 13:28:21 +0200 Subject: [PATCH] CI: standard build/test pipeline (wave-1 rollout; node-free checkouts, job timeout) --- .gitea/workflows/build.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .gitea/workflows/build.yml diff --git a/.gitea/workflows/build.yml b/.gitea/workflows/build.yml new file mode 100644 index 0000000..a2c3ef1 --- /dev/null +++ b/.gitea/workflows/build.yml @@ -0,0 +1,20 @@ +name: build +on: [push, workflow_dispatch] + +jobs: + build-test: + runs-on: docker + container: node:20-bookworm + timeout-minutes: 15 + steps: + - name: Checkout + run: git clone --depth 1 ${{ github.server_url }}/${{ github.repository }}.git . + + - name: Install + run: npm ci || npm install + + - name: Build + run: npm run build --if-present + + - name: Test + run: npm test --if-present