File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -193,7 +193,7 @@ jobs:
193193 node :
194194 - ' 20'
195195 - ' 22'
196- runs-on : ubuntu-latest
196+ runs-on : ubuntu-24.04
197197 steps :
198198 - uses : actions/checkout@v4
199199 - name : Setup node
@@ -251,15 +251,23 @@ jobs:
251251 - name : Setup and run tests
252252 uses : addnab/docker-run-action@v3
253253 with :
254- image : debian:bookworm
254+ image : ubuntu:24.04
255255 options : ' --platform linux/arm64 -v ${{ github.workspace }}:/build -w /build'
256256 run : |
257257 set -e
258258 export DEBIAN_FRONTEND=noninteractive
259259 apt-get update
260260 apt-get install -y curl ca-certificates gnupg
261- curl -fsSL https://deb.nodesource.com/setup_${{ matrix.node }}.x | bash -
262- apt-get install -y nodejs
261+
262+ # Install Node.js manually to avoid Python segfault issues
263+ NODE_VERSION="${{ matrix.node }}"
264+ if [ "$NODE_VERSION" = "20" ]; then
265+ NODE_DOWNLOAD_URL="https://nodejs.org/dist/v20.18.0/node-v20.18.0-linux-arm64.tar.xz"
266+ else
267+ NODE_DOWNLOAD_URL="https://nodejs.org/dist/v22.12.0/node-v22.12.0-linux-arm64.tar.xz"
268+ fi
269+
270+ curl -fsSL "$NODE_DOWNLOAD_URL" | tar -xJ -C /usr/local --strip-components=1
263271 node --version
264272 npm --version
265273 npm ci
You can’t perform that action at this time.
0 commit comments