Install nodejs in workflow container so actions/checkout can run

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 64026a3d7a
commit 887d97b5bb
+1 -3
View File
@@ -7,15 +7,13 @@ on:
jobs:
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
container: python:3.12-slim
steps:
- name: Install system dependencies
run: |
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)
uses: actions/checkout@v4