CI: install nodejs so JS-based actions run in the arch container
All checks were successful
Deploy / build-deploy (push) Successful in 3m29s

actions/checkout and actions/cache are executed with node inside the
archlinux:latest job container, which has no node by default. Install it
in the first (shell) step, before Checkout, mirroring the Crafter.Build CI.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
Jorijn van der Graaf 2026-07-18 23:34:00 +02:00
commit bdea14fc20

View file

@ -23,7 +23,12 @@ jobs:
pacman-key --init pacman-key --init
pacman-key --populate archlinux pacman-key --populate archlinux
pacman -Sy --noconfirm --needed archlinux-keyring pacman -Sy --noconfirm --needed archlinux-keyring
# nodejs is required for the JS-based actions (checkout, cache) to
# run inside this archlinux container — the runner execs them with
# node. This shell step needs no node, so installing it here (before
# Checkout) is enough.
pacman -Syu --noconfirm --needed \ pacman -Syu --noconfirm --needed \
nodejs \
clang lld libc++ \ clang lld libc++ \
wasi-libc wasi-libc++ wasi-libc++abi wasi-compiler-rt \ wasi-libc wasi-libc++ wasi-libc++abi wasi-compiler-rt \
git curl tar rsync git curl tar rsync