ci(gitea): install php-cli, act_runner image doesn't ship with php
Some checks failed
Caterium QA / qa (push) Failing after 1m33s
Some checks failed
Caterium QA / qa (push) Failing after 1m33s
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
parent
893f2f6a67
commit
66ab47de72
@ -54,6 +54,13 @@ jobs:
|
|||||||
done
|
done
|
||||||
exit 1
|
exit 1
|
||||||
- run: npm run check:deploy
|
- 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 -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: php tests/proxy-http.php app && php tests/proxy-http.php api
|
||||||
- run: npx playwright install --with-deps chromium webkit
|
- run: npx playwright install --with-deps chromium webkit
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user