fix(ci): install node on alpine image
All checks were successful
Test action / Test on registry.onstackit.cloud/devex-images/alpine:latest (push) Successful in 13s
Test action / Test on registry.onstackit.cloud/devex-images/ubuntu:act-latest (push) Successful in 39s

This commit is contained in:
Maximilian Jugl 2026-04-22 09:43:26 +02:00
parent f1cd1be14d
commit dfaa9b8b48

View file

@ -23,6 +23,19 @@ jobs:
container: container:
image: ${{ matrix.image }} image: ${{ matrix.image }}
steps: steps:
- name: Install Node (Alpine only)
shell: sh
run: |
set -e
if ! command -v node >/dev/null 2>&1; then
if command -v apk >/dev/null 2>&1; then
apk add --no-cache nodejs
else
echo "::error::Node.js cannot be installed for this environment."
exit 1
fi
fi
- uses: actions/checkout@v6 - uses: actions/checkout@v6
- name: Test action - name: Test action
uses: ./ uses: ./