diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml new file mode 100644 index 0000000..0aa482d --- /dev/null +++ b/.gitea/workflows/ci.yml @@ -0,0 +1,30 @@ +name: ci + +on: + push: + branches: [main] + pull_request: + branches: [main] + +jobs: + verify: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v4 + + - name: PHP 8.5 syntax check (webhook-receiver.php) + run: | + php -v + php -l deploy/webhook-receiver.php + + - name: Setup Node.js 24.22.1 + uses: actions/setup-node@v4 + with: + node-version: "24.22.1" + + - name: Build admin-ui + working-directory: admin-ui + run: | + npm ci + npm run build