ci: install node for actions/checkout in the php container
Tests / PHP 8.4 (push) Failing after 6m3s

This commit is contained in:
dgarcia committed 2026-11-15 11:00:58 -03:00
1 parent 0e756e45c7
commit 53130d7b4a
1 file changed
+7 -2
+7 -2
View File
@@ -8,7 +8,11 @@ on:
# The PHP version comes from the job container image instead of shivammathur/setup-php: # The PHP version comes from the job container image instead of shivammathur/setup-php:
# the runner in this Gitea instance reaches github.com intermittently and setup-php # the runner in this Gitea instance reaches github.com intermittently and setup-php
# failed with "TLS handshake timeout". Fewer external actions, fewer failure modes. # failed with "TLS handshake timeout".
#
# Node.js is installed explicitly: actions/checkout is a JavaScript action, and the
# php:*-cli images ship no node, so checkout failed with
# `exec: "node": executable file not found in $PATH` (exit 127).
jobs: jobs:
check: check:
runs-on: ubuntu-latest runs-on: ubuntu-latest
@@ -18,8 +22,9 @@ jobs:
- name: Install system packages - name: Install system packages
run: | run: |
apt-get update -qq apt-get update -qq
apt-get install -y -qq --no-install-recommends git unzip libonig-dev libxml2-dev > /dev/null apt-get install -y -qq --no-install-recommends git unzip curl ca-certificates nodejs libonig-dev libxml2-dev > /dev/null
docker-php-ext-install -j"$(nproc)" mbstring pdo pdo_mysql > /dev/null docker-php-ext-install -j"$(nproc)" mbstring pdo pdo_mysql > /dev/null
node --version
- uses: actions/checkout@v4 - uses: actions/checkout@v4
with: with:
fetch-depth: 0 fetch-depth: 0