ci(gitea): install php-cli, act_runner image doesn't ship with php
Some checks failed
Caterium QA / qa (push) Failing after 1m33s

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
pavlov346346-source 2026-09-23 14:27:17 +03:00
parent 893f2f6a67
commit 66ab47de72

View File

@ -54,6 +54,13 @@ jobs:
done
exit 1
- run: npm run check:deploy
- name: Install PHP CLI
# The self-hosted act_runner image (unlike GitHub's ubuntu-latest)
# ships without PHP at all, so the lint/proxy steps below fail with
# "php: command not found" unless we install it first.
run: |
apt-get update -y
apt-get install -y --no-install-recommends php-cli
- run: php -l public/api/index.php && php -l ops/timeweb/api-proxy.php
- run: php tests/proxy-http.php app && php tests/proxy-http.php api
- run: npx playwright install --with-deps chromium webkit