From 7dade5ecce2a9d4c34deae903360bb7b84e79023 Mon Sep 17 00:00:00 2001 From: spark Date: Fri, 23 Oct 2026 18:41:23 +0100 Subject: [PATCH] ci(runtime): add PHP 8.5 and Node 24.22.1 CI workflow (BIT-31738) Paperclip-Issue: BIT-31738 --- .gitea/workflows/ci.yml | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 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..6ae3468 --- /dev/null +++ b/.gitea/workflows/ci.yml @@ -0,0 +1,31 @@ +name: ci + +on: + push: + branches: [master] + pull_request: + branches: [master] + +jobs: + verify: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v4 + + - name: PHP 8.5 syntax check + run: | + php -v + find crm public src tools -name '*.php' -not -path '*/vendor/*' -print0 2>/dev/null | xargs -0 -n1 php -l >/dev/null + echo "All MoneyFlix PHP files pass PHP 8.5 syntax check" + + - name: Setup Node.js 24.22.1 + uses: actions/setup-node@v4 + with: + node-version: "24.22.1" + + - name: Verify nodejs-redirector on Node 24.22.1 + working-directory: nodejs-redirector + run: | + node -v + node --check index.mjs