From aea5738faa1b2ee7b68aadfa3c7e2f1996dd02e8 Mon Sep 17 00:00:00 2001 From: Raffael Sheikh Date: Thu, 16 Jul 2026 11:57:17 +0200 Subject: [PATCH] ci: verify pull requests --- .gitea/workflows/ci.yml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 .gitea/workflows/ci.yml diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml new file mode 100644 index 0000000..6effd56 --- /dev/null +++ b/.gitea/workflows/ci.yml @@ -0,0 +1,26 @@ +name: CI + +on: + pull_request: + branches: [main] + types: [opened, synchronize, reopened] + +jobs: + quality: + name: Syntax and tests + runs-on: toolctrl-ci + timeout-minutes: 10 + steps: + - name: Checkout + uses: actions/checkout@v4 + + - name: Setup Node.js + uses: actions/setup-node@v4 + with: + node-version: "22" + + - name: Verify + run: | + npm run check + npm test + git diff --check