Pin manual build Node.js to major version 24

Alpine removed nodejs 24.18.1-r0, so the exact pin broke the build on
main. Accept any 24.x release and log the version used.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
carmen-cortese 2026-11-04 11:41:32 -05:00
parent a3c4d0d8fb
commit 1b2f416b60

View File

@ -13,7 +13,8 @@ jobs:
BUILD_RUN: ${{ gitea.run_number }} BUILD_RUN: ${{ gitea.run_number }}
steps: steps:
- name: Prepare recorded Actions runtime - name: Prepare recorded Actions runtime
run: apk add --no-cache nodejs=24.18.1-r0 # Alpine removes superseded patch releases, so pin the major version and log the exact one.
run: apk add --no-cache 'nodejs~24' && node --version
- name: Check out triggering revision - name: Check out triggering revision
uses: https://github.com/actions/checkout@v3.6.0 uses: https://github.com/actions/checkout@v3.6.0
with: with: