31 lines
571 B
YAML
31 lines
571 B
YAML
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
|