Install nodejs in workflow container so actions/checkout can run
Build and deploy / build-and-deploy (push) Failing after 19s

python:3.12-slim has no Node.js; JS-based actions like actions/checkout
need it to execute their bundled dist/index.js.
This commit is contained in:
2026-08-13 15:03:49 +00:00
parent d47300a4d7
commit 88bed173c1
+1 -3
View File
@@ -7,15 +7,13 @@ on:
jobs: jobs:
build-and-deploy: build-and-deploy:
# Needs a self-hosted Gitea Actions runner with this label registered
# against git.haemka.in — none exists yet, set one up before enabling this.
runs-on: self-hosted runs-on: self-hosted
container: python:3.12-slim container: python:3.12-slim
steps: steps:
- name: Install system dependencies - name: Install system dependencies
run: | run: |
apt-get update apt-get update
apt-get install -y --no-install-recommends git rsync openssh-client apt-get install -y --no-install-recommends git rsync openssh-client nodejs
- name: Checkout (incl. theme submodule) - name: Checkout (incl. theme submodule)
uses: actions/checkout@v4 uses: actions/checkout@v4