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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user