From 53130d7b4a789f3685dbf4eaeef99002090a1eb9 Mon Sep 17 00:00:00 2001 From: Dario Garcia Date: Sun, 15 Nov 2026 11:00:58 -0300 Subject: [PATCH] ci: install node for actions/checkout in the php container --- .gitea/workflows/tests.yml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/tests.yml b/.gitea/workflows/tests.yml index ef5e66d..471d183 100644 --- a/.gitea/workflows/tests.yml +++ b/.gitea/workflows/tests.yml @@ -8,7 +8,11 @@ on: # 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 -# 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: check: runs-on: ubuntu-latest @@ -18,8 +22,9 @@ jobs: - name: Install system packages run: | 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 + node --version - uses: actions/checkout@v4 with: fetch-depth: 0